Hi everybody!
I am new to Matlab and Simulink and I wonder if it is possible to convert a Simulink Model into a Matlab function to be invoked in a .m script.
For example, my Simulink Model has got two imputs, A and B, and a output, U. Is it possible to generate the function
'myModel'
and then to use it, writing
U = myModel(A, B);
in my script?
Thank you very much!
Best Answer