LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
altenbach

Easier conversion between matlab script and MathScript nodes

Status: New

MathScript and matlab script nodes share nearly identical syntax, so many times an old program containing a matlab scipt node would run nearly unchanged once we substitute a MathScript node.

 

If we have a program with a matlab script node but the current computer does not have matlab (but only a MathScript license), one would think that this should be a one-step process. (for example we can easily change between scilab and matlab by simply right-clicking and changing the script server).

 

No such tool exists for conversion between matlab and MathScript (or vice versa). This means we need to (1) create a new script node and (2) copy/paste the contents, then spend a long time (3) adding and naming all terminals and (4) finally connecting everything in exactly the same way to the rest of the diagram. Especially steps 3 and 4 are painful and error prone! That should be automated!

 

I suggest there should be a simple right-click option ("convert to mathscript node", "convert to matlab node") that would change to the new node, retaining all text code as well as all terminals and connections!