Filter löschen
Filter löschen

I want to run my matlab script and dump that code into simulink

7 Ansichten (letzte 30 Tage)
Gudala Chandan raj
Gudala Chandan raj am 24 Nov. 2022
I am trying to use a script and run in math function block but it is not executing a it is not a function it is script, so how do i run my script and use that output to operate the blocks in simulink. is there any library where we can dump the matlab script in simulnk.

Antworten (1)

Abderrahim. B
Abderrahim. B am 24 Nov. 2022
I understand that you have a script that you want to use within a Simulink model. I recommend that you use MATLAB Function Block.
Below is the documentation of the block :
An example of how to use is in this link:
Hope this helps
  3 Kommentare
Abderrahim. B
Abderrahim. B am 24 Nov. 2022
Math Function block performs numerous common mathematical MATLAB build-in functions. To call custom function inside simulink you need to use MATLAB function.

Melden Sie sich an, um zu kommentieren.


Mehr zu Simulink Functions finden Sie in Help Center und File Exchange


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by