リバースモデリング 外部関数の参照方法について
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
既存のCコードをsimulink化するにあたって、別ファイルで定義している関数を参照する場合、どのようにsimulink上で表現すればいいでしょうか?
0 Commenti
Risposte (1)
Toshinobu Shintai
il 26 Ago 2020
Modificato: Toshinobu Shintai
il 26 Ago 2020
モデル参照という機能を使うと、別のファイルで作成したSimulinkモデルを呼び出せるようになります。
モデル参照は、独立したモデルを呼び出すことを前提としています。C言語で言うと、~~.cと~~.hで一つにパッケージ化されたような機能をモデル化したい場合に使います。
一方でサブシステム参照という機能もあります。
こちらは、単に関数を切り出してファイル分けしたような場合のモデル化をする場合に使います。
Vedere anche
Categorie
Scopri di più su Create Large-Scale Model Components in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!