期刊文献+

Matlab GUI的上位机与智能车的两种实时通信 被引量:4

Two Types of Real-time Communication Between PC and Smart Car Based on Matlab GUI
下载PDF
导出
摘要 基于Matlab的串口通信机制,简要介绍了查询方式下的非实时通信,提出一种将事件中断写入GUI组件函数的方式,相对于改写instrcallback函数实现串口中断机制的实时通信方式,大大简化了中断方式实现实时通信的过程,并详述了三者的差异和实现过程。利用Matlab的GUI工具和内置的串口通信API,设计了一个可视化的串口通信界面,通过蓝牙串行接口,实现智能车系统采集数据的实时接收,并利用Matlab强大的科学计算功能,对数据进行实时处理,图形化显示数据处理结果。实验结果表明,该方法可行,具有一定的应用价值。 Based on Matlab's serial interface communication mechanism, this paper introduces non real-time communication on the inquiry mode and puts forward a kind of real-time communication method relative to rewrite instrcallback function in order to achieve the mecha- nism of the serial port interrupt, thus greatly simplifying the process of realizing the real-time communication through interruption. Mo- reover, it also discusses the difference and implementation process of the three in detail. Using Matlab's GUI tool and built-in serial in- terface communication API, it designs and exploits a visual interface of serial interface communication. Through Bluetooth serial ports, it receives data by intelligent vehicle system in time. Furthermore, it uses the strong scientific computing functions of Matlab to handle real-time data and graphically display the results. The experimental results show the feasibility and certain application value of the method.
出处 《单片机与嵌入式系统应用》 2012年第12期27-30,共4页 Microcontrollers & Embedded Systems
关键词 MATLAB GUI 智能车 MC68HCS12G128单片机 回调函数instrcallback 实时通信 Matlab GUI intelligent car MC68HCS12G128 microcontroller callback function instrcallback real time communication
  • 相关文献

参考文献2

二级参考文献4

  • 1[1]窦振中.PIC系列单片机原理和程序设计.北京:北京航空航天大学出版社,2001
  • 2[2]Mathworks Corp. Instrument Control Tollbox[Z], 2000
  • 3[3]Mathworks Corp. External Interfaces/API[Z], 2000
  • 4张立材.基于Matlab环境的串行数据通信[J].微计算机信息,2004,20(3):100-101. 被引量:23

共引文献32

同被引文献38

引证文献4

二级引证文献17

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部