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

1 vue (au cours des 30 derniers jours)
MathWorks Support Team
MathWorks Support Team le 17 Déc 2010
Simscape で作成したモデルのシミュレーションのデバッグを行うために、データをロギングしました。このデータを簡単に見る方法があるか、教えて下さい。

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 26 Déc 2022
Modifié(e) : MathWorks Support Team le 26 Déc 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 が立ち上がり、各ノードの応答が簡単に確認できます。

Plus de réponses (0)

Tags

Aucun tag saisi pour le moment.

Produits


Version

R2010a

Community Treasure Hunt

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

Start Hunting!