Jump to content

Run Matlab from Labview

Recommended Posts


I'm quite new when it comes to both Labview and Matlab and now I've run into a problem I can't solve on my own.

I wish to enter values from Labview and then automatically start Matlab using these values.

I have already looked into the "Matlab script" but the Matlab code I use have alot of functions and calls to other programs itself so it doesn't work very well.

Is there any one who know how to solve this? It seems like there should be an easy answer, but I can't find it...

// Anders

Link to comment

Well if you dont want to use the matlab-node (not the mathscript node). You could always make a "mail-box" solution. Write a MAT-file, with data and write a file indicating new data available. Have matlab scan this in box is new data exist read data-file and erase the file indicating new data available. Do the calculations write out the data file that labview can read. Have Labview scan this "mail-box".

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.

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.