Re: [Scilab-users] Name of function's input arguments

2013-05-30 Thread pierre31
I did not succeed in using the macrovar primitve, however, using who_user gives me an ordered list of my variables from which it is easy to extract the right strings. Thank you for your help. Pierre -- View this message in context:

[Scilab-users] Name of function's input arguments

2013-05-29 Thread pierre vuillemin
Hello, I would like to know if there exists a way to get the name of function's inputs arguments, i.e., if I have the following function function y = f(a,b) .. endfunction and that I call it like y = f(var1,var2), is it possible to know, inside my function f, that the first input argument a is

Re: [Scilab-users] Name of function's input arguments

2013-05-29 Thread Adrien Vogt-Schilb
you cannot. But you can provide the function directly with the name of your variable, and transform te name of the variable into the variable by evaluating it... function f(nameofvar1,nameofvar2) var1 = evstr(nameofvar1) var2 = evstr(nameofvar2) disp(nameofvar1 + + +

Re: [Scilab-users] Name of function's input arguments

2013-05-29 Thread Stéphane Mottelet
You can do it with the macrovar primitive. S. Le 29/05/13 22:56, Adrien Vogt-Schilb a écrit : you cannot. But you can provide the function directly with the name of your variable, and transform te name of the variable into the variable by evaluating it... function