Can a Matlab script node in Labview communicate during execution?

In Labview, can a Matlab script node (or a Mathscript node) in a block diagram communicate (that is, read inputs and update outputs) during its execution ?

Put another way, can such a script node communicate with other elements on the block diagram during its execution, without waiting for the script to terminate ?


I don't think that it is possible. I've never seen anyone be able to pass information from inside the MathScript node to the outside (a.k.a rest of the block diagram) world while it is executing. You can pass information from one MathScript node to another and from the node to the LabVIEW MathScript Window if you use globals. These globals are different than the LabVIEW global variable though.

Grant Heimbach LabVIEW Product Manager

Absolutely and perfectly possible. Wire inputs, create outputs, if data should change potentially during running the script, create multiple scripts instead, introduce breakpoints, or run subscripts in a loop and check data on every iteration, updating selectively.

By the way, the Matlab script node, and the MathScript node are two different things, look it up.

Mr product manager above does not have a clue of what he's talking about.

Need Your Help

Custom URL scheme embedded in an SMS on iPhone

iphone url sms

Has anyone been able to successfully embed a custom url scheme in an SMS (for example someApp://), such that the iPhone upon receiving the SMS creates a clickable link to launch an app?