首页 | 官方网站   微博 | 高级检索  
     

基于Simulink/MEX编程的MATLAB仿真教学动画演示
引用本文:郭斯羽,鲍美华,唐求,温和.基于Simulink/MEX编程的MATLAB仿真教学动画演示[J].计算机教育,2010(19):148-150.
作者姓名:郭斯羽  鲍美华  唐求  温和
作者单位:1. 湖南大学,电气与信息工程学院,湖南,长沙,410082
2. 长沙医学院,药学系,湖南,长沙,410219
摘    要:给出一种基于MATLABS函数和MEX编程的仿真过程动画显示模块实现方法,利用S函数实现动画显示窗口管理和动画帧的显示,通过MEX函数来利用其他编程语言和图形函数库实现动画帧便捷美观的绘制,最终实现仿真过程动画显示。通过此方法得到的S函数模块可集成到Simulink模型中,方便地提供仿真过程的动画演示。

关 键 词:MATLAB  Simulink  MEX编程  仿真动画

Animation for Educational Simulations Based on Simulink/MEX Programming
GUO Si-yu,BAO Mei-hua,TANG Qiu,WEN He.Animation for Educational Simulations Based on Simulink/MEX Programming[J].Computor Education,2010(19):148-150.
Authors:GUO Si-yu  BAO Mei-hua  TANG Qiu  WEN He
Affiliation:1. College of Electrical and Information Engineering, Hunan University, Changsha 410082, China; 2. Department of Pharmacy, Changsha Medical University, Changsha 410219, China)
Abstract:A method for building simulation process animation blocks based on MATLAB S-function and MEX programming is proposed. The management of the animation display window and the displaying of animation frames are implemented in the S-function, and the convenient drawing of elegant animation frames is done by MEX programming using other programming languages and graphical libraries. By combining these two parts together, the animation of the simulation process is finally realized. The S-function blocks thus obtained can be integrated into Simulink models, providing convenient animation demonstration for the simulation process.
Keywords:MATLAB  Simulink
本文献已被 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号