Info
This question is closed. Reopen it to edit or answer.
question related to matlab function block
1 view (last 30 days)
Show older comments
hai, i'm trying to use 'matlab function' block in simulink. i tried to use "find" function in it, so i have defined it as "coder.extrinsic('find')". It is giving error as 'Y(output)' cannot be of "MATLAB type", this is the code
function y = fcn(u1,u2) coder.extrinsic('find') x= find(u1,u2); y = x;
can anyone help me with this, thanks for any help i got
0 Comments
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!