摘要
Matlab和数据库技术广泛应用于大型工程应用系统中。存储在数据库中的mat文件数据须经过本地文件系统,由Matlab加载到工作空间中。每次文件数据加载过程附带两次文件IO,降低了应用软件性能。提出基于内存的mat文件数据快速加载方法,将数据库中的文件数据下载到Matlab内存缓冲区中,在缓冲区中完成文件数据扫描和加载,消除了本地文件系统的介入,显著改善了应用软件系统性能。
Matlab and database are widely used in engineering applications.The mat files stored in database must be transferred onto file-system from before being loaded by the Matlab.Two file operations,from database to file system and from file system to Matlab,get involved in the process of mat file loading,and cause the performance lost of applications.A memory-base loading method is proposed.By fetching file data from database into buffer of the Matlab,in which file data is analyzed and loaded into the Matlab's workspace,and getting rid of the unnecessary file IO operations,the performance of applications gets improved.
出处
《科学技术与工程》
2011年第33期8357-8360,共4页
Science Technology and Engineering