How can I convert a visual basic code into matlab?

8 次查看(过去 30 天)
How can I convert a visual basic code into matlab?
theres a code which runs a spectrum analyzer through GPIB connection, I need to re program that into maltab,
thanks for the help!
Roxan
  2 个评论
Jack Marrelli
Jack Marrelli 2016-10-7
If VB IS USED WON'T ONE HAVE TO HAVE THE VB ENGINE INSTALLED? Also changing the code would require VB ?
Walter Roberson
Walter Roberson 2016-10-7
If you were to follow Kaustubha Govind's suggestion of creating a COM component and calling it from MATLAB, then you would need the VB engine installed.
However, I believe the original poster was hoping that there was a program that could read in VB source and output equivalent MATLAB source that did not use VB at all.

请先登录,再进行评论。

回答(1 个)

Kaustubha Govind
Kaustubha Govind 2012-8-16
You should probably just create a COM component from your Visual Basic code and call it from MATLAB. See Running VB code in Matlab.

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

标签

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by