山东科学 ›› 2015, Vol. 28 ›› Issue (4): 89-93.doi: 10.3976/j.issn.1002-4026.2015.04.017

• 其他研究论文 • 上一篇    下一篇

VB和MATLAB混合编程在井眼轨道设计上的运用

周志稳,马卫国   

  1. 长江大学机械工程学院,湖北 荆州 434023
  • 收稿日期:2014-11-09 出版日期:2015-08-20 发布日期:2015-08-20
  • 作者简介:周志稳(1988-),男,硕士研究生,研究方向为先进钻采技术。
  • 基金资助:
    国家科技重大专项(2011ZX05036006)

Application of hybrid programming with VB and MATLAB in well trajectory design

ZHOU Zhiwen,MA Weiguo   

  1. School of Mechanical Engineering,Yangtze University,Jingzhou434023,China
  • Received:2014-11-09 Online:2015-08-20 Published:2015-08-20

摘要: 为提高连续油管钻井井眼轨道设计的便捷性,采用基于COM组件的VB和MATLAB混合编程方法,将绘图的代码进行封装,只要即时改变参量数值,就可得出相应的图形,并可比较不同参数下图形的特点。该设计实现了VB编写的多个模块调用一个MATLAB程序的功能,减少了程序编写的工作量,提高了程序开发的效率。

关键词: 混合编程, Visual Basic, 轨道设计, MATLAB, 井眼

Abstract: To improve the convenience of coiled tube drilling trajectory design, we employ COM component based VB and MATLAB hybrid programming method and encapsulate the drawing code.It can draw the corresponding figure and compare the characteristics of different parameters figures,if only parameter value is instantaneously changed.We realize the calling of VB based multiple modules to one MATLAB program, which decreases the workload of program writing and improves software development efficiency.

Key words: Visual Basic, MATLAB, trajectory design, hybrid programming, well

中图分类号: 

  • TE24

开放获取 本文遵循知识共享-署名-非商业性4.0国际许可协议(CC BY-NC 4.0),允许第三方对本刊发表的论文自由共享(即在任何媒介以任何形式复制、发行原文)、演绎(即修改、转换或以原文为基础进行创作),必须给出适当的署名,提供指向本文许可协议的链接,同时表明是否对原文作了修改,不得将本文用于商业目的。CC BY-NC 4.0许可协议详情请访问 https://creativecommons.org/licenses/by-nc/4.0