How can i write the matlab code into simulink ?

1 次查看(过去 30 天)
Hello, i'm working on matlab and i want to translat my code lines into simulink blocks , can someone help please?

回答(1 个)

EmirBeg
EmirBeg 2021-5-11
编辑:EmirBeg 2021-5-11
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:

类别

Help CenterFile Exchange 中查找有关 Simulink Functions 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by