06-14-2007 01:26 PM
06-14-2007 01:34 PM
06-15-2007 10:32 AM
Hi Johny,
It sounds like something might have happened to this function - file corruption especially is an option. I would suggest repairing or reinstalling LabVIEW and trying it again. I would also suggest trying the examples to ensure the software is working ok and then trying your code. Let me know what happens!
Examples:
LabVIEW\examples\scriptnode\Differential Equation.llb\MATLAB Script - Lorenz Diff Eq.viLabVIEW\examples\scriptnode\Fractal.llb\MATLAB Script - Fractal.vi
Stephanie
06-15-2007 01:27 PM
11-15-2007 04:22 AM
03-10-2010 08:38 AM
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' , which I wrote it as cd D:m1
run(m1)
03-11-2010 01:46 PM
Hello,
You would need to use MATLAB Script Node to run .m script instead of using MathScript Node.
10-09-2013 02:02 AM
Hi there,
i am looking to get this working on LabView 2012. How do I run an .m file from within the script window? I can open an .m file in editor, but now been able to run it.
Any info appreciated!
10-09-2013 03:43 PM
Hi Lauren,
This article has a very thorough walkthrough about using .m file scripts with LabVIEW. Hopefully that will give you what you need. Let us know if it doesn't.
Also as a helpful note for future reference, a new post is more likely to get noticed rather then posting a reply to a several year old forum. A rule of thumb is if the forum's last post is over a year old, you may want to consider posting on a new thread, especially in this case where the forum members were working with a much older version of LabVIEW.
I hope this helps, let me know if you have more questions.
MATLAB® is a registered trademark of The MathWorks, Inc.
10-09-2013 06:32 PM
hi miles,
i found that info before but it does not help me. that refers mainly to using mathscript window in labview, where existing .m files can be run within LabView. I don;t want to do that.
what i want is being able to start a matlab instance triggered by labview and then run an .m file script in that matlab session. how do i do that?
thanks,
laurens