LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

using simulink in labview

Is it possible to call simulink or other matlab
m-files from within the matlab code in the
"Matlab Script" ?
0 Kudos
Message 1 of 3
(2,951 Views)
You can run any m-files in a script node. Place the m file in one of the matlab working directories and simply call it just like you would if you were in matlab. Simulink is a different animal. You are not able to call this in a Matlab Script Node, but there is a toolkit that will compile a Simulink model into a dll that can easily be called in LabVIEW. The toolkit is call the Simulation Interface Toolkit (http://sine.ni.com/apps/we/nioc.vp?cid=11763〈=US).
0 Kudos
Message 2 of 3
(2,951 Views)
Thanks for the answer. However, there seems to be a
problem even when i call m-files from within the
matlab code in the script. I'm using labview 6.1 and
matlab 6.0 so i'm not sure if this is what's causing
the problem. I don't get any error code, the only
thing i hear is a beep !!! how can i fix it ?
0 Kudos
Message 3 of 3
(2,951 Views)