Hello,
What is the Scilab way to dump the output of a function ? The Matlab equivalent
is tilde (~).
To give an example, suppose I have an existing function f such as :
function [y_1,y_2] = f(x)
y_1 = x ^ 2;
y_2 = x ^ 3;
enfunction
Suppose I want to use this function, but I am only interested in the y_2
result, and I don't want to assign a variable to the y_1 output. In Matlab, I
would do the following way :
[~,b] = f(2)
I would only get a single output variable :
b = 8
Thank you for your feedback.
_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users