08-31-2017 12:33 PM
I have done some searches and can't find a straight answer. Is there the equivalent of a Mathscript node in CVI whereby you could specify the code text, inputs and outputs, and execute Mathscript capable code? I don't want to compile a MATLAB DLL since I don't want to introduce multiple runtime dependencies on the final product. I'm trying to find a single environment solution to this, which would result in only a single runtime needing to be deployed.
I have numerous LabVIEW projects which use the Mathscript node to execute some code initially developed in MATLAB. It would be tedious, and downright error inducing to implement some of the code natively in C or using the CVI libraries.
Any constructive suggestions are welcome.
09-01-2017 02:44 AM
I am not using Matlab but I know CVI can connect to it via ActiveX so I would investigate in this direction to see if it can help. There are also some examples in CVI samples\activex\matlab folder that you may want to study.
09-07-2017 09:33 AM
Sorry for delayed response. I'm interested in Mathscript instead of adding the MATLAB dependency. CVI has the analysis libraries, but unfortunately, any Mathscript code appears to require re-implementation using "native" CVI libraries.