Simscape でログを取った物理デ​ータを可視化するには​どうすればよいですか​?

1 visualizzazione (ultimi 30 giorni)
MathWorks Support Team
MathWorks Support Team il 17 Dic 2010
Simscape で作成したモデルのシミュレーションのデバッグを行うために、データをロギングしました。このデータを簡単に見る方法があるか、教えて下さい。

Risposta accettata

MathWorks Support Team
MathWorks Support Team il 26 Dic 2022
Modificato: MathWorks Support Team il 26 Dic 2022
ロギングデータは、MATLAB Central にある Simscape Simulation Result Viewer を使用することで、可視化できます。下記のURLよりダウンロードし、MATLABのパスが通ったフォルダに置いて下さい。
なお、ロギングデータは、コンフィギュレーションパラメータの [Simscape] ツリーを選択し、Data Logging の Lig simulation data:を ”all” に設定します(下図参照)。
シミュレーション実行後、ロギングされたデータは simscape.logging.Node オブジェクトとして保存されます。次に、下記のコマンドで、Simscape Simulation Results Viewer を実行してください。
ssc_explore(simlog)
ここで、simlog はベースワークスペースに保存されている simscape.logging.Node オブジェクトを表しています。コマンドを実行すると、下図の Figure が立ち上がり、各ノードの応答が簡単に確認できます。

Più risposte (0)

Tag

Non è stata ancora inserito alcun tag.

Prodotti


Release

R2010a

Community Treasure Hunt

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

Start Hunting!