I want to be able to catch errors that occur during the execution of Matlab code in a LabVIEW Matlab script node. According to my understanding of the documentation, errors of this type should be available at the "error out" signal point on the Matlab script node. I have noticed that even deliberately generating matlab syntax errors will not produce an error output. See the attached vi for an example.
Thanks for the response. The behavior that you observed is the behavior that expected to observe but didn't. Do you have any suggestions for how I might go about debugging this problem? When I run this VI, there is no output to the error cluster.
I basically have the same question. Matlab does not have these as variables per se and the message from Labview is essentially useless. Problem is that the messages which typically get sent to Matlab Command Window are suppressed. How to port them into Labview or to unsuppress them in Matlab Command Window would be invaluable to debuggin Matlab script being used by Labview.