ansim

版本 1.0.0.0 (125.7 KB) 作者: Tim Chang
Animate simple objects based on inputs from a Simulink model.
5.9K 次下载
更新时间 2008/5/7

无许可证

The Ansim directory is a collection of functions for MATLAB and a corresponding block for Simulink that are used to animate simple objects based on inputs from a Simulink model. Animation and setup are implemented in a Graphical User Interface (GUI) environment that allows the user to be hands off' the Simulink simulation.

Users have a choice of five object types that are available for animation: dot, line, patch, text and rectangle. Each of the objects has properties which can either be constant values or be dependent upon an input from the Simulink model. Any number of objects may be added, modified or deleted.

Other functionality that has been built in to the animation GUI includes the ability to control a number of axis parameters and the ability to save and load animation setups.

For a demonstration of the block, change to the ansim directory, and type ansimtest from the MATLAB command line. When the SIMULINK model appears, double click on the Animation Block. The Animation Figure Window will appear. You will then be prompted to see if you want to load a specific animation configuration file. Select the option to load the file and the setup will be completed. Edit objects by double-clicking on them, or just start the simulation and watch the animation.

引用格式

Tim Chang (2024). ansim (https://www.mathworks.com/matlabcentral/fileexchange/250-ansim), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2008a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Modeling 的更多信息
标签 添加标签

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0

upgrade for 2008a compatibility