can i convert matlab simulink model into matlab code?

I have simulink models in digital communication , then can i convert it into matlab codes?

Antworten (1)

Walter Roberson
Walter Roberson am 20 Okt. 2020
Bearbeitet: Walter Roberson am 20 Okt. 2020

0 Stimmen

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 Kommentare

Dear Walter @Walter Roberson,
Can you please specify some tools which can be used to convert simulink to C or C++?
Thanks
Best Regards
Khalid Javed
DB
DB am 5 Nov. 2024
Bearbeitet: DB am 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 ?

Melden Sie sich an, um zu kommentieren.

Kategorien

Produkte

Version

R2020a

Gefragt:

am 20 Okt. 2020

Bearbeitet:

am 5 Nov. 2024

Community Treasure Hunt

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

Start Hunting!

Translated by