In Matlab, the tilda symbol can be used to ignore a certain parameter from a function that returns multiple parameters. However, when I try the same code in Octave, I get a syntax error.
I have two questions:
Why does Octave not support this? (i.e. bug, future enhancement, design decision, etc.)
What's the alternative syntax in Octave, if any (without just putting a "dummy variable" into the spot then clearing that variable)? Additionally, is this alternative syntax Matlab compatible?
% this is valid Matlab code, but will result in a syntax error in Octave
[colA, colB, ~, colC] = textread('data.txt', '%d %d %s %d', 1);
Fyi, I'm using Octave 3.2.4 compiled for windows with some Octave Forge packages.