Community Profile

photo

siv1


Last seen: 1 día ago
2 total contributions since 2019

siv1's Badges

  • Knowledgeable Level 1
  • First Answer
  • Explorer

View details...

Contributions in
View by

Answered
declaring multi global variables with simulink model1
Hi, you need to place the m file data into the main matalb function(mpc controller). That solved the problem for me. And don't f...

9 meses ago | 0

| accepted

Question


Is this code(in mat lab function block) correct for the attached logic?
[~,k2]=sort(g,'ascend'); [~,k1]=sort(h,'ascend'); k3=k1+k2; k=k3/2; [~,fx_opt]=min(k);

9 meses ago | 0 answers | 0

0

answers