Generate c++ code using imported model from Amesim
9 ビュー (過去 30 日間)
古いコメントを表示
Is it possible to generate c++ code in simulink using an imported model from Amesim?
0 件のコメント
回答 (1 件)
Hari Krishna Ravuri
2019 年 7 月 17 日
Hi,
I understand that, you are trying to generate C++ code for a Simulink Project which uses an imported model from Simcenter Amesim. Using Amesim model in Simulink depends on the Hardware on which you are going to deploy. If the Hardware is compatible with both the Simulink and the imported Amesim model, then it is possible to generate C++ code for your Simulink Project. Amesim model cannot be imported into Simulink directly, for this Amesim provides an Amesim/Simulink interface by which you can construct a model of subsystem in Amesim and convert it into Simulink S-Function. This conversion can be achieved by “Interface Icon Block” in Amesim. Once the S-Function was generated, you can easily include in your Simulink Project. Then you can generate C++ code for your Simulink Project.
Please refer to the following documentations.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!