Is it possible to convert a Simulink Model into a Matlab function?
Show older comments
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!
Accepted Answer
More Answers (0)
Categories
Find more on Event Functions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!