リバースモデリング 外部関数の参照方法について

3 vues (au cours des 30 derniers jours)
直樹 田中
直樹 田中 le 26 Août 2020
Commenté : 直樹 田中 le 30 Août 2020
既存のCコードをsimulink化するにあたって、別ファイルで定義している関数を参照する場合、どのようにsimulink上で表現すればいいでしょうか?

Réponses (1)

Toshinobu Shintai
Toshinobu Shintai le 26 Août 2020
Modifié(e) : Toshinobu Shintai le 26 Août 2020
モデル参照という機能を使うと、別のファイルで作成したSimulinkモデルを呼び出せるようになります。
モデル参照は、独立したモデルを呼び出すことを前提としています。C言語で言うと、~~.cと~~.hで一つにパッケージ化されたような機能をモデル化したい場合に使います。
一方でサブシステム参照という機能もあります。
こちらは、単に関数を切り出してファイル分けしたような場合のモデル化をする場合に使います。
  1 commentaire
直樹 田中
直樹 田中 le 30 Août 2020
ご回答ありがとうございます。
大変参考になりました。

Connectez-vous pour commenter.

Catégories

En savoir plus sur Create Large-Scale Model Components dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!