[Scilab-users] ignore function output variable

christophk christoph.knappe at gmail.com
Tue Nov 8 12:55:59 CET 2016


Hey there,
is there any way in Scilab to ignore a function output variable? I did a a
quick search in the mailing list archive and on the internet but couldn't
find anything.

Example:
a = [ 0 1 0 1 1];

// working usual function call and throwing away b in Scilab
[b,c] = unique(a);
clear b;

// Matlab syntax for ignoring output variable "b":
[~,c] = unique(a); //throws an error - is there a way of excluding "b" upon
function call in Scilab?



--
View this message in context: http://mailinglists.scilab.org/ignore-function-output-variable-tp4034932.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.



More information about the users mailing list