Call M File In SIMULINK Model

T
tesem · Dec 12, 2020 · 2.3K views
Question
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 PhD Expert
Answered Aug 15, 2026

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.

Have a different question? Ask here

Get a Free Consultation or a Sample Assignment Review!