LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Matlab Scripting VI/Need help

Hello,
I have already a long program wrot with matlab. Can I integrate it directly in Matlab Script existing in LABVIEW without any modification?
If yes:
1-How Can I aske the files for loading the matlab program?
2- Where, the files must be saved?
3- Is it possible to trigeer Matlab simultaneously with data aquisition program vi?
4-Matlab program tournes much slow than the acquisition program vi. How could Labview send the data with high frequence in the same time?

Regards
0 Kudos
Message 1 of 5
(2,763 Views)
http://ni.com/analysis/matlab.htm

Anward wrote:
> Hello,
> I have already a long program wrot with matlab. Can I integrate it
> directly in Matlab Script existing in LABVIEW without any
> modification?
> If yes:
> 1-How Can I aske the files for loading the matlab program?
> 2- Where, the files must be saved?
> 3- Is it possible to trigeer Matlab simultaneously with data
> aquisition program vi?
> 4-Matlab program tournes much slow than the acquisition program vi.
> How could Labview send the data with high frequence in the same time?
>
> Regards
0 Kudos
Message 2 of 5
(2,763 Views)
Hi,

You will find below the procedure for creating DLL in MATLAB for use in LabVIEW. This is a mean you can use to call Matlab code in LabVIEW without the need of Matlab installed in your computer (like a stand-alone executable).

I hope it will help you.

Regards.
0 Kudos
Message 3 of 5
(2,763 Views)
Hi, I have the same problem as you, but I haven't yet solved it. Did you solved your problem? How?

Regards
0 Kudos
Message 4 of 5
(2,763 Views)
Hi Olga,
Finally, I decided to execute my Matlab program siparatly from LABVIEW acquisition program.Since, when matlab P. is long, the time of calculation by matlab is so long as compared with the time required for LABVIEW execution. So, it is not possible to execute both deux program in the same espace of time.
But, if you have one syclic acquisition avec low frequence, it is possible!

Regard
0 Kudos
Message 5 of 5
(2,763 Views)