Mファイル内で、別のMファイルを実行する
Show older comments
Mファイル内で、別のMファイルを実行したいです。
コールバック関数のようなやり方ではなく、別のMファイルを丸ごと実行できるようなコードがあれば教えてください。
イメージは、シミュレーション実行コマンドの「sim('●●.slx')」のようなイメージを持っています。
例えば、以下のシーンで利用したいです。
①複数のテストパターンを切り替える際に、別Mファイルで管理したい
②メインシミュレーションのMファイル内で、自作した汎用プロットMファイルを実行したい
よろしくお願いします。
Accepted Answer
More Answers (1)
FUMI SHIBATA
on 21 May 2019
Edited: FUMI SHIBATA
on 21 May 2019
0 votes
Categories
Find more on ファイルの操作 in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!