将Matlab函数传输到Visual Basic [英] Transferring a Matlab function to Visual Basic

查看:254
本文介绍了将Matlab函数传输到Visual Basic的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将非常复杂的Matlab函数转换为Visual Basic.它需要一个矩阵输入并给出4个输出.

从我自己的研究中,我发现了一个名为Matlab CODER的东西,可以将Matlab代码转换为C/C ++代码,但是,此功能太复杂了.所以我想现在我的问题是,可以在VB中以某种方式调用我的matlab函数并存储 在我的VB程序中使用的输出?

matlab函数如下所示:

函数[f,x,s,c,l] = mytest(Y,varargin)

%代码在这里...

结束%函数

解决方案

在此环境中不能使用Visual Basic.

http://en.wikipedia.org/wiki/Matlab

在Visual Basic中也不存在类似Matlab的东西.

请注意,编程是一种描述事物的方式,使接收者能够毫无困惑地理解事物,在这种情况下,就是该社区的成员.


I am trying to transfer a very complicated Matlab function into visual basic. It takes a matrix input and gives 4 outputs.

From my own research I found something called Matlab CODER, which can transfer matlab code into C/C++ code, however, this function is too complex for that. So I guess now my question is, it is possible to call my matlab function somehow within VB and store the outputs for use within my VB program?

The matlab function looks something like this:

function [f,x,s,c,l] = mytest(Y,varargin)

%Code here...

end % function

解决方案

You cannot use visual Basic in this environment. 

http://en.wikipedia.org/wiki/Matlab

There does not exist something like Matlab in Visual Basic too.

Be aware that programming is an art to describe things in a way the receiver will understand it without confusion, in this case are that the members of this community.


这篇关于将Matlab函数传输到Visual Basic的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆