LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Matlab Script doesn't execute code

Hi

I'm using LabView 6.1 and Matlab 6.5. I have a VI that starts a simulator made in Matlab/Simulink. I need to execute a function in a matlab m file, and I'm using the Matlab Script node to do this. The problem is that the code only executes occasionally. Is there no guaranty that all code in Matlab Script is executed, or am I using it wrong?

Thanks
Petter
0 Kudos
Message 1 of 2
(2,581 Views)
You may want to take a look at this Knowledge Base on NI's website. It providess an update for using Matlab 6.5 scripts with LabVIEW 6.x.
J.R. Allen
0 Kudos
Message 2 of 2
(2,581 Views)