LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

multiple matlab versions

Hi

I have MATLAB ver 5.3 and ver. 6.5 intalled in my system. However, Labview keeps opening ver. 5.3. This is quite anoying since even my matlab generated dlls would not open since apparently Labview is looking at version 5.3 for the runtime libraries. Does anybody know how to correct this behaviour?

Regards

Alberto
0 Kudos
Message 1 of 6
(3,077 Views)
Hello Alberto,

Are you calling MATLAB via ActiveX? According to KnowledgeBase 2A6E3SDM, which I linked below, MATLAB's ActiveX interface looks like version 5.3 but has all of the capabilities of version 6.x, if you have both versions installed. If this is the case, it looks like this was the intended behavior and there is not a way to change the UI, because of the way the ActiveX interface was configured for MATLAB.

I hope this helps!

Incorrect MATLAB Window Appearance when Called from LabVIEW
http://digital.ni.com/public.nsf/websearch/21F5F9E84FC1EAFC86256A64006E6570?OpenDocument

Liz Fausak
National Instruments
0 Kudos
Message 2 of 6
(3,076 Views)
Thanks for your comment

However, it is not the gui the problem, it is actually openning ver 5.3 (I checked for it). And yes I am calling through Activex. By the way, the list of improvements in the bookshelf say that the matlab window does not open anymore in this LV version (7.0), however it does still open. Any idea?

Alberto
0 Kudos
Message 3 of 6
(3,075 Views)
Alberto,

You might also try the 7.0.0.2 update to LabVIEW that provides fixes for some known MATLAB issues. It can be downloaded here:

http://digital.ni.com/public.nsf/websearch/4475BC3CEB062C9586256D750058F14B?OpenDocument

If you are still seeing the issue, I would go to www.ni.com/ask and submit an email or phone call so our engineers can document and possibly file a bug report.

Thanks!

Liz Fausak
National Instruments
0 Kudos
Message 4 of 6
(3,075 Views)
Thanks Liz

I have checked if I have the same version of the matscript.dll, and I do. So I guess I will pursue your second alternative.

Alberto
0 Kudos
Message 5 of 6
(3,075 Views)
Hi,

My experience  is that if the last time before running Labview you ran Matlab version N, then labview opens this same version.  So, if say you need to use Matlab version M, then maybe you can open Matlab M (outside labview) first.  Not sure if this is true for other versions of matlab and labview.  My versions: matlab 6.5 and 7.0, and Labview 7.1.
0 Kudos
Message 6 of 6
(2,943 Views)