How to transfer an M-file to a Smulink block

1 次查看(过去 30 天)
Dear All,
I hope everyone is doing well.
I have an M-file with a for loop, and I need to convert it to be a Simulink block to be able to use it in a Simulink program.
Regard,

回答(1 个)

Fangjun Jiang
Fangjun Jiang 2022-3-31
Use the "MATLAB Function" block

类别

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