Simulinkモデルを実行した際の計算所要時間の表示方法 a a a a
68 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
takagi satoshi
am 19 Mai 2015
Beantwortet: Atsushi Matsumoto
am 13 Sep. 2016
計算所要時間を表示させる方法はありますでしょうか。 ファイルに出力でなくても、見て確認できれば構いません。
1 Kommentar
Walter Roberson
am 19 Mai 2015
Approximate translation is "Is there a way to display the computation time required would either. Even without the output to a file, it does not matter if you can determine by looking ."
Akzeptierte Antwort
Atsushi Matsumoto
am 13 Sep. 2016
Simulinkモデルのシミュレーションの開始から終了までの時間を測定したいという意味で間違いないでしょうか?
MATLABコマンドで、tic, tocを使うと時間測定が可能です。また、simコマンドでSimulinkモデルを実行することが可能です。 これらを組み合わせて、
> tic, sim('modelname'), toc
で測定可能です。
カレントのモデル名はコマンドgcsでも取得できますので、開いているモデルに対する時間測定は以下のコマンドでも取得できます。
> tic, sim(gcs), toc
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Verification, Validation, and Test finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!