LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Parallel execution of Mat script in Labview

Hi All

 

I have an application where I am using MatLAB program to simulate 3D image simulation for vibration data. In this we are using two Mat Script call in two instances which are running parallel.  

 

The issue observed is MatLAB scripts which am running parallel are not working simultaneously any one is working at any time. When I call MatLAB script for second time, Mat script which is already executing stops execution and second instance gets executes.

 

What I have to do to execute 2 MatLAB scripts simultaneously in LABView.

 

Regards

Devender T

0 Kudos
Message 1 of 2
(2,419 Views)

I'm not a Matlab experts, but as far as I know, Matlab doesn't allow you to run scripts in parallel, so this is a Matlab limitation, not a LabVIEW one. You could look into using the Parallel Computing Toolbox for Matlab, though I think its intention is to target multiple cores, rather than multiple threads.

 

You may need to pursue this in the Matlab forums.

0 Kudos
Message 2 of 2
(2,412 Views)