MATLAB Answers

How can i write the matlab code into simulink ?

1 view (last 30 days)
Feriel Mohammedi
Feriel Mohammedi on 11 May 2021
Edited: EmirBeg on 11 May 2021
Hello, i'm working on matlab and i want to translat my code lines into simulink blocks , can someone help please?

Answers (1)

EmirBeg
EmirBeg on 11 May 2021
Edited: EmirBeg on 11 May 2021
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:

Community Treasure Hunt

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

Start Hunting!