can i convert matlab simulink model into matlab code?

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

回答(1 个)

Walter Roberson
Walter Roberson 2020-10-20
编辑:Walter Roberson 2020-10-20
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 个评论

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
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 ?

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Simulink Functions 的更多信息

产品

版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by