摘要
MATLAB是一款高性能的科学与工程计算软件,具有强大的数值计算和分析能力,但其对硬件的访问能力较弱。在MATLAB环境中实现对硬件资源的直接访问可以极大的方便对数据的处理及算法的验证,基于这种目的提出一种扩展MATLAB访问硬件的方法,通过MATLAB外部函数接口调用第三方器件商提供的动态链接库导出函数,在MATLAB平台下实现对一般硬件的访问,并具体介绍了该方法在气压高度计原型系统设计中的应用。该方法简化了MATLAB与硬件的数据交互,对于原型系统设计和算法的验证提供了一种有效的手段。
MATLAB is a high-performance scientific and engineering computing software with a strong numerical calculation and analysis capabilities,but its ability to access the hardware is weak.In the MATLAB environment direct access to hardware resources can greatly facilitate the validation of data processing and algorithm,based on this purpose propose an extension of MATLAB hardware access,using MATLAB external interface functions to call third-party devices’ dynamic link library exported functions realize the general hardware access,and specific description of the method in the barometric altimeter prototype system design.This approach simplifies the MATLAB and hardware data exchange,provides an effective means for the prototype system design and validation of the algorithm.
出处
《电子设计工程》
2012年第14期50-52,55,共4页
Electronic Design Engineering