Hi fellows matlab
I want to generate a code using embedded function block I've written a function with some input arguments, each one will be taken from workspace from MATLAB.
I read that to specify an input argument from MATAB workspace, I should go through model explorer or tool > edit data ports, in the contents pane, set scope to parameter, and so, the input value will be take from workspace.
should I specify the type or class of each values of input in the same code written in the embedded editor from simulink block, or should be enough with set the values as I describe before to be used for the program written??
I'm explain well? thanks guys