From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

error (1046) using matlab script

Hi ,

im trying to use matlab script Labview , i've got matlab installed.

when im running the VI , i'm getting an error 1046 , i tried to search the community ,

and i've been told to check the "choose script server" , i dont know why , but i it's "grayed" ,

and i cant change anything.

 

capture.jpg

0 Kudos
Message 1 of 2
(4,010 Views)

Cobmetal,

 

Looking at the following KnowledgeBase, it looks like MATLAB® may need to be registered as an ActiveX server first.

 

http://digital.ni.com/public.nsf/allkb/5BECAA32D63921628625670C005BDA1A?OpenDocument

 

Mathworks has good documentation about how to register MATLAB as a COM Automation server in the Windows registry when launched. I would try to do that if the option to choose script server is greyed out (Ctrl+F regserver).

 

http://www.mathworks.com/help/matlab/ref/matlabwindows.html

 

MATLAB® is a registered trademark of The MathWorks, Inc. Other product and company names listed are trademarks and trade names of their respective companies.

Matt J | National Instruments | CLA
0 Kudos
Message 2 of 2
(3,986 Views)