Can we automatically/directly convert simulink block diagram(simulink model) into MATLAB code ?

Can we automatically/directly convert simulink block diagram(simulink model) into MATLAB code ? As we have options for C/C++ code and HDL code generation

Answers (1)

HDL Coder supports code generation from both MATLAB and Simulink models.
I do not think you need to convert Simulink models to MATLAB.

Products

Release

R2015a

Asked:

on 26 Sep 2022

Answered:

on 6 Oct 2022

Community Treasure Hunt

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

Start Hunting!