ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

too much time to run Matlab script inside Labview

If I execute a matlab script inside matlab, it takes less than 1 second, while if i put the same script inside a Labview program, it takes something like 20 seconds. This is not acceptable for my application. Is there something that i can do to speed up my program?
Thak you
0 Kudos
Message 1 of 3
(2,657 Views)
Salutations,

Why yes, Write your script in LabView, that way it doesn't have to call up matlab to run it etc...

Sincerely,
ElSmitho
0 Kudos
Message 2 of 3
(2,646 Views)
Hi Bella

Most of the time is "wasted" in loading matlab, load it beforehand and it is very fast.

Albert
greetings from the Netherlands
0 Kudos
Message 3 of 3
(2,643 Views)