Are there tools for scilab which support test driven development with scilab
like JUnit does for Java?
Kind regards
Klaus
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
Le 29/05/2013 09:54, Klaus Rohe a écrit :
>
> Are there tools for scilab which support test driven development with
> scilab like JUnit does for Java?
>
>
>
Of course. Scilab has around 3000 tests run every night.
You should have a look to:
http://help.scilab.org/assert_overview
http://help.scila
Is there a block in xcos that will trigger if a signal exceeds a threshold for
a certain time?
For example if I want to trigger a switch if another signal is continuously
greater than 0 for 30 seconds? So, I need both a threshold value, and a time.
And, anytime the value drops below that thres
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 c
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 + " + "+ nameofva
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 f(nameofvar1,nameofvar2)