MarioDB
Computer
- May 7, 2007
- 1
Hi! Can you help me please?
I'm working with Matlab 7.3 r2006b and Visual Basic 2005. I made my application that use 2 .Net object made in Matlab. I'll name these "DOE" and "IPM".
Well, when I start my application in VB 2005, I call a function of IPM called "act()" that contains some statements like "tf([], [])" and "lsim()" all work fine, but if I start my application calling the other .Net component called "DOE" (which work fine and does't contains LTI statements) and AFTER I call the same previously component IPM with the same "act()" function, this "act()" function throws this exception:
MWMCR::EvaluateFunction error: Undefined variable "ltipack" or class "ltipack.tfdata".Error in =>act.m at 27.
I have just controlled the code and the error is in the "tf()" line. Then I ask myself why the same function works when is launched first but doesn't work when it's launched for second? How I can resolve this problem?
Thanks a lot.
I'm working with Matlab 7.3 r2006b and Visual Basic 2005. I made my application that use 2 .Net object made in Matlab. I'll name these "DOE" and "IPM".
Well, when I start my application in VB 2005, I call a function of IPM called "act()" that contains some statements like "tf([], [])" and "lsim()" all work fine, but if I start my application calling the other .Net component called "DOE" (which work fine and does't contains LTI statements) and AFTER I call the same previously component IPM with the same "act()" function, this "act()" function throws this exception:
MWMCR::EvaluateFunction error: Undefined variable "ltipack" or class "ltipack.tfdata".Error in =>act.m at 27.
I have just controlled the code and the error is in the "tf()" line. Then I ask myself why the same function works when is launched first but doesn't work when it's launched for second? How I can resolve this problem?
Thanks a lot.