covert matlab program to simulink block
2 views (last 30 days)
hi all, i am constructing a feedback loop in simulink . the loop contains certain matlab programs. i want to know whether i can implement the matlab code or the executable file in simulink block so that it executes in simulink.
thanks in advance.
with regards, shiksha
More Answers (2)
Mischa Kim on 18 Feb 2014
Shiksha, yes, provided I correctly understand your question.
You can include MATLAB functions in Simulink models (e.g., by using a MATLAB function block from the library [User-Defined Functions]). When you run the Simulink model the model-embedded MATLAB functions are automatically executed.
Does this answer your question?