在matlab中搞了一个非常简单的函数:function [z]=test(a,b)
z=a*b;用comtool编译通过,在C#下用如下语句调用:
net_test.net_testClass xx = new net_test.net_testClass();
object m = 3;
object n = 2;
object x = 0; xx.my_test(1, ref x, m, n);
执行过程中竟出现错误:Function 'mtimes' not defined for variables of class 'int32'
z=a*b;用comtool编译通过,在C#下用如下语句调用:
net_test.net_testClass xx = new net_test.net_testClass();
object m = 3;
object n = 2;
object x = 0; xx.my_test(1, ref x, m, n);
执行过程中竟出现错误:Function 'mtimes' not defined for variables of class 'int32'
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货