can i simply generate blocks to simulink from m-file code

8 ビュー (過去 30 日間)
Jaroslav Keprt
Jaroslav Keprt 2017 年 9 月 12 日
回答済み: Fangjun Jiang 2017 年 9 月 12 日
Hello,
can i simply generate blocks to simulink from m-file code.
I just want to define the simulation (blocks) in the code. This code creates a model(simulation schema).
Define position, define color, add blocks, inputs, outputs, block properties, automatically link blocks.
I also want to read and edit these blocks again (by another script)
Is there any pdf, tutorial or manual?
When I look for help or for the mathworks-forum, I see that this possibility exists. But I did not find a complete manual or simple examples.
Thank you for answer.

採用された回答

Fangjun Jiang
Fangjun Jiang 2017 年 9 月 12 日
Here is the link to the online R2017a document. You can find similar section in your version of MATLAB/Simulink.
https://www.mathworks.com/help/simulink/ug/approach-modeling-programmatically.html

その他の回答 (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