Simulink Code Generation with schematic view

1 回表示 (過去 30 日間)
Emerson Butler
Emerson Butler 2019 年 5 月 31 日
回答済み: Jonas 2019 年 6 月 3 日
I'm exploring the possibility of using Simulink Code Generation to generate an executable file of my Simulink model. All of the examples I've seen list only the code as the output of the code generation. I'm wondering if there is an option to include the schematic view of my model as well. I suspect the answer is no based on the answers to similar questions. I'd love to create a standalone model which would allow the user to click through subsystems and view the scopes at the end of the model run, so if it's not possible through code generation, is it possible with anything else?
Thanks!

採用された回答

Jonas
Jonas 2019 年 6 月 3 日
What you are asking is basically for the end-user to run a simulation of a Simulink model in MATLAB, which requires MATLAB and the corresponding licenses. I don't really see an advantage of generating code for this requirement.
I have good experiences with writing a MATLAB App with App Designer to drive a Simulink model, of which you can create an executable file. If you are a bit handy you can make the app perform fairly neat things, which is the closest you can get to having the user controlling a simulation. You can create the executable such that the end-user can use MATLAB Runtime which does not require a license on the end-user side. This is the only recommendation I can give.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulink Coder についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by