Simulink のシミュレーション結​果をアニメーションで​表示するためにはどう​すればよいですか?

10 visualizzazioni (ultimi 30 giorni)
MathWorks Support Team
MathWorks Support Team il 5 Lug 2010
Simulink のシミュレーション結果をアニメーションで表示する方法を教えてください。

Risposta accettata

MathWorks Support Team
MathWorks Support Team il 11 Gen 2023
Modificato: MathWorks Support Team il 11 Gen 2023
Simulinkでアニメーションを表示する場合、MATLAB file S-Functionブロックや MATLAB Function ブロックを使用する方法があります。
ヘルプ画面の下記の下記ツリーを辿ると、MATLAB file S-Functionブロックを使用してアニメーションを行っているデモを参照することができます。
(MATLAB バージョンによって、デモのタイトルが多少異なる場合があります。)
Simulink
->例
 ->一般分野への適用
  ->アニメーションを使った倒立振子
  ->アニメーションを使った水槽の水量変化
  ->2個の跳ねるボールボール: 適応ゼロクロッシング位置の使用
MATLAB Function ブロックを使用したデモは下記です。
  ->MATLAB Functionブロックを使用したらせん状の銀河形成シミュレーション
なお、MATLAB file S-Functionでアニメーションを表示する場合のテンプレートとなるファイルを、以下の方法で入手可能です。
1) コマンドウィンドウから以下のコマンドを実行します。
>> sfundemos
2) S-Function Examples から "MATLAB file S-functions" のブロックをダブルクリックして開きます。
3) "Level-2 MATLAB file S-functions" をダブルクリックして開きます。
4) "Level-2 MATLAB file template" をダルクリックして開きます。
また、オプション製品のSimulink 3D Animationを使用すると、3次元アニメーションを表示することができます。
・Simulink 3D Animation

Più risposte (0)

Tag

Non è stata ancora inserito alcun tag.

Prodotti


Release

R2008a

Community Treasure Hunt

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

Start Hunting!