Jump to content

calling matlab mfile in labview


Recommended Posts

Hello,

I am using the following command to run a m file in Labview 8.2; but it gives me the following error. can you please guide me in this manner or give a better way to running Matlab R2008a in Labview 8.2?

Command: cd 'C:\your\workspace\directory' run('your_m_file') %remember to use ' '

, which I wrote it as cd D:m1 run(m1)

Error:Error in function cd at line 1. The input parameters are not in the required format.

Looking Forward to recieving from You

Link to comment

Hello,

I am using the following command to run a m file in Labview 8.2; but it gives me the following error. can you please guide me in this manner or give a better way to running Matlab R2008a in Labview 8.2?

Command: cd 'C:\your\workspace\directory' run('your_m_file') %remember to use ' '

, which I wrote it as cd D:m1 run(m1)

Error:Error in function cd at line 1. The input parameters are not in the required format.

Looking Forward to recieving from You

why not use:

MATLAB Script Node (Windows, Not in Base Package)

Calls the MATLABĀ® software to execute scripts. You must have a licensed copy of the MATLAB software version 6.5 or later installed on your computer to use MATLAB script nodes because the script nodes invoke the MATLAB software script server to execute scripts written in the MATLAB language syntax. Because LabVIEW uses ActiveX technology to implement MATLAB script nodes, they are available only on Windows.

post-17166-126823900255_thumb.jpg

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
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.