05-10-2022 12:20 AM
With the upcoming version of LabVIEW, we are continuing to improve the interoperability of LabVIEW and MATLAB®. In LabVIEW 2021, we introduced the “Call MATLAB Function” node. In this Beta, you can break execution on this node and open the MATLAB environment to debug your scripts, as well as choose a specific version of MATLAB if you have more than one installed.
Please note that we encourage you to migrate any usage of MathScript to MATLAB because the MathScript node will be deprecated in a future version of LabVIEW. For migration assistance, please refer to https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000001E0TDCA0&l=en-US
Step into MATLAB function from Call MATLAB Function node
Known Issues:
Open Specific Version of MATLAB editor from Right-click menu
Above is a sample visual of the right-click menu for the Call MATLAB Function node.
MATLAB® is a registered trademark of The MathWorks, Inc.
Rohith Grandhi
Product Owner, LabVIEW R&D
05-10-2022 09:34 AM
What is the list of OS supported for this feature?
When deploying a LabVIEW built application using this feature - which license of MATLAB will be required (if any)?
What will occur if MATLAB is not installed? Will the rest of the app run fine and only the MATLAB function call will return a nicely formated error?
Please refresh my memory, does the MathScript Node require a MATALB license to run in a deployed application?
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
05-10-2022 09:58 AM
Well one of those I can answer because I don't have access to MATLAB. In the development environment it returns error 0d1732, "LabVIEW: Failed to connect to MATLAB(R). Check that MATLAB is installed and activated." I assume a built EXE will return the same error.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
05-10-2022 12:55 PM
@TiTou wrote:
Please refresh my memory, does the MathScript Node require a MATALB license to run in a deployed application?
The MathScript had nothing to do with Matlab other than the fact that the syntax was nearly identical. I think it required a runtime license to run in an application.
06-14-2022 11:38 PM
06-15-2022 02:10 AM
What is the list of OS supported for this feature?
When deploying a LabVIEW built application using this feature - which license of MATLAB will be required (if any)?
What will occur if MATLAB is not installed? Will the rest of the app run fine and only the MATLAB function call will return a nicely formatted error?
Please refresh my memory, does the MathScript Node require a MATALB license to run in a deployed application?
06-15-2022 02:53 AM
Mathscript could run without MATLAB so the removal of it is a loss.
We occasionally used mathscript nodes to include scripts that were developed by people most familiar with MATLAB, and we could just add it and build the application (if speed was an issue we might recreate it in G instead later on, but even then it got us running a prototype quickly).
06-15-2022 03:16 AM - edited 06-15-2022 03:17 AM
@Rohith_Grandhi a écrit :
What is the list of OS supported for this feature?
- MATLAB Node is supported on only Windows OS
When deploying a LabVIEW built application using this feature - which license of MATLAB will be required (if any)?
- We do need MATLAB license and MATLAB installed on a machine where we deploy the built application
What will occur if MATLAB is not installed? Will the rest of the app run fine and only the MATLAB function call will return a nicely formatted error?
- If MATLAB is not installed, LabVIEW MATLAB Node will error out with message that says MATLAB is not installed
Please refresh my memory, does the MathScript Node require a MATALB license to run in a deployed application?
- MathScript node is NI's proprietary software and it doesn't depend on any MATLAB license.
Thank you for clarifying these points for me.
I very much agree with Mads, deprecating the mathscript node will be a loss.
And not small one for those who have deployed their application using it on dozen of customer systems.
What will be the alternative for them?
Adding a MATLAB licence to the price of their system? No way.
What is NI's intent? Reduce customer base?
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus