首页 | 本学科首页   官方微博 | 高级检索  
     检索      

MATLAB和VB在温室环境模型构建中的混合编程研究
引用本文:孟力力,杨其长.MATLAB和VB在温室环境模型构建中的混合编程研究[J].中国农学通报,2012,28(6):262-268.
作者姓名:孟力力  杨其长
作者单位:1. 江苏省农业科学院现代农业科技展示中心,南京,210014
2. 中国农业科学院农业环境与可持续发展研究所,北京100081;农业部设施农业节能与废弃物处理重点实验室,北京100081
基金项目:国家自然科学基金“日光温室墙体有效蓄-放热区域能量传递的动态模拟与热特性参数优化”(31071833);江苏省农业科技自主创新项目“观赏植物室内立体生态栽培技术研究”[cx11(2013)];国家科技支撑计划“现代农业与养殖业专用LED光源开发与示范”(2011BAE01B10);北京市科委重点项目“低碳农业先导技术集成研究与示范”(D111100000811001);农业部948项目“LED植物苗工厂及其自动化生产关键技术引进”(2011-Z7);国际合作重点项目“低耗低排放高效农业关键技术合作研发”(2010DFB30550)
摘    要:旨在找到一种MATLAB和VB混合编程的方法,实现日光温室热环境模拟模型软件的可视化编写。采用基于组件对象模型COM(component object module)的方法,研究了MATLAB和VB在模型构建中的混合编程。采用MATLAB软件编写M.源函数文件,实现理论模型中的工程计算和图像图形处理功能,M.源函数文件编译成功后,通过COM方法转换为可被独立调用的组件;采用VB软件编写主程序文件,实现良好的人机交互功能。在主程序中完成模型各项参数的赋值后,再调用COM组件进行理论模型的计算与绘图。COM组件方法可以实现MATLAB和VB的混合编程。以此构建的日光温室热环境模拟模型软件,可在主程序输入各项参数:室外气象条件,温室结构、热性能等,模拟室内热环境的变化。

关 键 词:棉花  棉花  苗期  氮营养  筛选  
收稿时间:2011/8/12 0:00:00
修稿时间:2011/11/18 0:00:00

Hybrid Programming with MATLAB and VB in Building Visual Simulation Model for Thermal Environment in Chinese Solar Greenhouse
Meng Lili , Yang Qichang , Wen Jing , Zhang Yi , Fang Hui.Hybrid Programming with MATLAB and VB in Building Visual Simulation Model for Thermal Environment in Chinese Solar Greenhouse[J].Chinese Agricultural Science Bulletin,2012,28(6):262-268.
Authors:Meng Lili  Yang Qichang  Wen Jing  Zhang Yi  Fang Hui
Institution:2,3(1Modern Agricultural Technology Demonstration Centers,Jiangsu Academy of Agricultural Sciences,Nanjing 210014;2Institute of Environment and Sustainable Development in Agriculture,Chinese Academy of Agricultural Sciences,Beijing 100081) 3Key Laboratory of Energy Conservation & Waste Management of Agricultural Structures,Ministry of Agriculture,Beijing 100081)
Abstract: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.
Keywords:VB  MATLAB  COM builder  visual model
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《中国农学通报》浏览原始摘要信息
点击此处可从《中国农学通报》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号