can i convert matlab simulink model into matlab code?

27 views (last 30 days)
I have simulink models in digital communication , then can i convert it into matlab codes?

Answers (1)

Walter Roberson
Walter Roberson on 20 Oct 2020
Edited: Walter Roberson on 20 Oct 2020
No. There are no tools to convert Simulink to MATLAB. There are tools to convert Simulink to C or C++.
Most Simulink blocks have equivalent MATLAB functions, so sometimes Re-implementation in MATLAB is not so difficult.
  3 Comments
DB
DB on 5 Nov 2024
Edited: DB on 5 Nov 2024
Dear Walter, @Walter Roberson
You wrote that 'Most Simulink blocks have equivalent MATLAB functions, so sometimes Re-implementation in MATLAB is not so difficult'. Which blocks are those that have simulink functions? And is there a list or documentation of these somewhere ?

Sign in to comment.

Categories

Find more on Simulink Functions in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!