Call M File In SIMULINK Model

Illustration
tesem - 2020-12-12T12:43:51+00:00
Question: Call M File In SIMULINK Model

I want to call M File In SIMULINK Model.  I take one x constant , One Matlab Fnc , Matlab Fnc Output to display . I want to x value as input in M file function and their output display in y varibale. How can i do it ?

Expert Answer

Profile picture of Prashant Kumar Prashant Kumar answered . 2025-11-20

You can use the Interpreted MATLAB function block for this; it can be found under the User defined functions category in the Simulink library browser.


Not satisfied with the answer ?? ASK NOW

Get a Free Consultation or a Sample Assignment Review!