I want to convert slx file to m file in matlab

Answers (1)

Hi Quoc,
Unfortunately, it is not possible to directly generate MATLAB code from a Simulink model using a generator. However, you can generate C/C++ code from the Simulink model and then manually convert that code to MATLAB.
Hope this helps!

Categories

Find more on Simulink in Help Center and File Exchange

Asked:

on 26 Sep 2021

Answered:

on 17 Oct 2024

Community Treasure Hunt

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

Start Hunting!