×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

.Net object created by Matlab 7.3 r2006b

.Net object created by Matlab 7.3 r2006b

.Net object created by Matlab 7.3 r2006b

(OP)
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.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources