LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

mathscript and object oriented code m code

Hello,

 

I have some existing code written in Matlab with object-oriented programming that I would like to use with Mathscript RT nodes in LabVIEW.

 

Does NI have any plan to support object-oriented programming in mathscript RT nodes in the future?

 

In the mean time, is there any easy solution with minimum changes that would allow me to use my existing code?

 

Thanks

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

Hey L54,

 

Unfortunately, there have not been any public announcements regarding the support of object-oriented code for the MathScript RT nodes. Also, for tips on how to change your code to make it work, there really is no easy way to go about doing this.

 

Are you deploying to a RT target? Would it be possible for you to use the MATLAB Script Node? This is included with LabVIEW and actually connects to your MATLAB software and would most likely be able to run the object-oriented code.

 

Sorry about not supporting object-oriented code, but hopefully using the MATLAB Script Node help you achieve your desired functionality.

 

Joe S

Applications Engineer

National Instruments

 

MATLAB is a registered trademark of The MathWorks, Inc.

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