How to transfer an M-file to a Smulink block

1 view (last 30 days)
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,

Answers (1)

Fangjun Jiang
Fangjun Jiang on 31 Mar 2022
Use the "MATLAB Function" block

Categories

Find more on Simulink Functions in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!