MATLAB Answers

Simulink - Interpreted Matlab Function: How can I define that I want two inputs to my function?

9 views (last 30 days)
Rafael Cordero
Rafael Cordero on 30 Jul 2020 at 14:20
I hava a function represented by the interpreted matlab function block.
In the matlab function code, I have specified it has two inputs. However, one one input port appears on the interpreted matlab function block. Hence, when I run the simulaiton, I get an error telling me the function expects two inputs. How then can I define that I want two input ports on my interpreted matlab function block?
Thanks,
Rafael

  0 Comments

Sign in to comment.

Answers (0)