can i convert matlab simulink model into matlab code?

Respuestas (1)

Walter Roberson
Walter Roberson el 20 de Oct. de 2020
Editada: Walter Roberson el 20 de Oct. de 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 comentarios

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 el 5 de Nov. de 2024
Editada: DB el 5 de Nov. de 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 ?

Iniciar sesión para comentar.

Categorías

Más información sobre Simulink Functions en Centro de ayuda y File Exchange.

Productos

Versión

R2020a

Preguntada:

el 20 de Oct. de 2020

Editada:

el 5 de Nov. de 2024

Community Treasure Hunt

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

Start Hunting!

Translated by