Jump to content

Matlab DLL


Recommended Posts

Hi all,

Is it at all possible to call a Matlab DLL (i.e. MCR) in LabVIEW RT? From what I've seen it doesn't appear so. If, indeed, it is not possible, does anyone have any insights as to how else one might call Matlab code in LabVIEW RT?

-Casey

Link to comment
  • 3 weeks later...

QUOTE (cmay @ Aug 7 2008, 07:10 PM)

Hi all,

Is it at all possible to call a Matlab DLL (i.e. MCR) in LabVIEW RT? From what I've seen it doesn't appear so. If, indeed, it is not possible, does anyone have any insights as to how else one might call Matlab code in LabVIEW RT?

-Casey

It's probably not possible at all. In order to run a Matlab DLL you have to have installed the Matlab runtime library or how it is called. And this library will likely rely on C runtime and Windwos API calls that are not present in the RT system. In addition a Matlab DLL would not even be compatibale at all with the VxWorks based realtime targets so the is no chance to get it to work there I guess.

That is unless Matlab can create full C code for its scripts and you can get that to compile in the targets systems compiler tool chain. All in all not pretty work for sure if it is possible at all.

Rolf Kalbermatter

Link to comment

QUOTE (cmay @ Aug 7 2008, 04:10 PM)

If, indeed, it is not possible, does anyone have any insights as to how else one might call Matlab code in LabVIEW RT?

-Casey

I was going to suggest using the mathscript node (that can run a large percentage of m code in the LV environment), but it is unsupported on RT.

So your out of luck apart from translating it into LV code.

Is it a lot of code?

N.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.