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

Simulink のシミュレーション結果をアニメーションで表示する方法を教えてください。

 Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 11 de En. de 2023
Editada: MathWorks Support Team el 11 de En. de 2023

0 votos

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

Más respuestas (0)

Productos

Versión

R2008a

Etiquetas

Aún no se han introducido etiquetas.

Community Treasure Hunt

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

Start Hunting!