How can i write the matlab code into simulink ?

Hello, i'm working on matlab and i want to translat my code lines into simulink blocks , can someone help please?

Respuestas (1)

EmirBeg
EmirBeg el 11 de Mayo de 2021
Editada: EmirBeg el 11 de Mayo de 2021

0 votos

You can create a Matlab function of your code where you define In- and Outputs and use it in Simulink via the Matlab Function Block.
How to write Matlab functions:
How to use it in Simulink:

Categorías

Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.

Preguntada:

el 11 de Mayo de 2021

Editada:

el 11 de Mayo de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by