Simulink from first order

3 views (last 30 days)
Hassan Aqwa
Hassan Aqwa on 14 Apr 2021
Answered: Hassan Aqwa on 10 May 2021
Hello, does anyone know how to fix this error for simulink? The graph does not come out.

Accepted Answer

Rhea Chandy
Rhea Chandy on 3 May 2021
Hi Hassan,
From the error message you showed, it looks like the MATLAB function you entered into the Interpreted MATLAB Function Block is not being recognised. It seems like you've used the function 'first_order' which isn't a documented MATLAB function. More information what is supported in the Interpreted MATLAB function block can be found here : Interpreted MATLAB Function
If you are trying to implement a first order hold, or an first order transfer function, the following blocks might help you better:
  1. First Order Hold block
  2. Transfer Fcn First Order
If you are trying to implement a MATLAB Function you've written, try the MATLAB Function block

More Answers (1)

Hassan Aqwa
Hassan Aqwa on 10 May 2021
Hello, I want to ask. Can you help me to solve my problem. I want to simulate this equation into the simulink. So, i want to get the graph modelling based on my equation. From this equation, how i can i do to get the simulink graph?. Thank You.


Find more on Simulink 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!

Translated by