期刊文献+

MATLAB和VB在温室环境模型构建中的混合编程研究 被引量:6

Hybrid Programming with MATLAB and VB in Building Visual Simulation Model for Thermal Environment in Chinese Solar Greenhouse
下载PDF
导出
摘要 旨在找到一种MATLAB和VB混合编程的方法,实现日光温室热环境模拟模型软件的可视化编写。采用基于组件对象模型COM(component object module)的方法,研究了MATLAB和VB在模型构建中的混合编程。采用MATLAB软件编写M.源函数文件,实现理论模型中的工程计算和图像图形处理功能,M.源函数文件编译成功后,通过COM方法转换为可被独立调用的组件;采用VB软件编写主程序文件,实现良好的人机交互功能。在主程序中完成模型各项参数的赋值后,再调用COM组件进行理论模型的计算与绘图。COM组件方法可以实现MATLAB和VB的混合编程。以此构建的日光温室热环境模拟模型软件,可在主程序输入各项参数:室外气象条件,温室结构、热性能等,模拟室内热环境的变化。 The objective of this study was to find a hybrid programming method with VB and MATLAB,which could achieve visual simulation model software for thermal environment in Chinese solar greenhouse.The application of MATLAB and VB in model was studied based on COM(component object module) method.M.function file was written by MATLAB,which could solve engineering calculations and image graphics of model.M.function file was transferred to be components which could be called independently after compilation successfully.The main program file was written by VB which could supply good human-machine interface.After parameters were given in main program,COM component was called to do calculation and drawing of model.Hybrid programming with MATLAB and VB was achieved by COM component method.A visual model of thermal environment was established by hybrid programming,which could predict the temperature change by giving outside weather conditions,type of greenhouse structure,thermal properties and other parameters.
出处 《中国农学通报》 CSCD 2012年第6期262-268,共7页 Chinese Agricultural Science Bulletin
基金 国家自然科学基金"日光温室墙体有效蓄-放热区域能量传递的动态模拟与热特性参数优化"(31071833) 江苏省农业科技自主创新项目"观赏植物室内立体生态栽培技术研究"[cx11(2013)] 国家科技支撑计划"现代农业与养殖业专用LED光源开发与示范"(2011BAE01B10) 北京市科委重点项目"低碳农业先导技术集成研究与示范"(D111100000811001) 农业部948项目"LED植物苗工厂及其自动化生产关键技术引进"(2011-Z7) 国际合作重点项目"低耗低排放高效农业关键技术合作研发"(2010DFB30550)
关键词 VB MATLAB COMBuilder 可视化模型 VB MATLAB COM builder visual model
  • 相关文献

参考文献13

二级参考文献88

共引文献314

同被引文献64

引证文献6

二级引证文献14

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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