更改为,Attempt to execute SCRIPT t as a function,有哪为高手能告诉我啊,我
vb里的代码是
Dim result As String
Dim Matlab As Object
Set Matlab = CreateObject("matlab.Application")
cc = "syms t ;qiujief(sin(t),2)"
result = Matlab.execute(cc)
运行后就提示说
Attempt to execute SCRIPT t as a function