This error can also be generated if the Clear All function is used in your script. To resolve the error, simply remove this function from your script. For more information on creating and using scripts in LabVIEW using the MATLAB® language syntax, refer to LabVIEW's VI, Function, & How-To Help.
Commands such as input require the user to interact in the command window of MATLAB. They will not properly run in the MATLAB Script Node in LabVIEW. The following is a screenshot of a MATLAB Script Node that calls the input command.
To fix this problem, associate the variable being assigned the input to a LabVIEW control input on the Script NodeMATLAB® is a registered trademark of The MathWorks, Inc. Other product and company names listed are trademarks and trade names of their respective companies.
Collaborate with other users in our discussion forums
A valid service agreement may be required, and support options vary by country.
Thank you for your feedback.
You changed your response to Not Helpful
You changed your response to Helpful