实现Matlab定时处理功能  被引量:2

Implementation of Periodic Processing Functions in Matlab

在线阅读下载全文

作  者:傅晓波[1] 胡念苏[1] 

机构地区:[1]武汉大学动力机械学院,湖北武汉430072

出  处:《现代电子技术》2005年第15期76-78,共3页Modern Electronics Technique

摘  要:为实施诸如定时数据采集、数据处理、文件存盘等定时处理任务,以实现实时仿真和控制,程序必须能够完成定时和计时功能。介绍了优秀科学计算软件Matlab实现定时处理功能的几种方式,并着重给出了用C语言按照MEX格式编写动态链接库,在Matlab环境中使用系统定时器资源的方法。最后给出了定时采集某工业实际对象的温度,利用Mat-lab强大的数值计算与处理功能建立系统温度模型的应用实例。文中给出的方法可作为Matlab环境中编制数据采集与处理程序,以及开发Matlab与外部程序接口时参考。Periodical tasks like data acquisition,data processing,file manipulation are preliminary requirements to carry out real time simulation and control,so that programs need timing functional for that purpose.Several methods on how to implement periodic processing functions in powerful scientific computing software Matlab are presented in this paper.Using a timer can extend greatly the periodic processing functions of Matlab.A practical sample of getting data from an industrial plant to build the temperature model in Matlab shows its practicability.The solutions are provided in this paper can help to develop data acquisition and processing programs or interfaces between Matlab and external programs.

关 键 词:MATLAB 定时器 C-MEX文件 数据处理 

分 类 号:TP317[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象