blob: 29ded41791b0eeb4655bcdad21e07221ced79551 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
function GAIN_f () {
var gain = 1],[in=1],[out=1;
var model = scicos_model();
model.sim = new ScilabString(["gain"]);
model.in = new ScilabDouble([1]);
model.out = new ScilabDouble([1]);
model.rpar=new ScilabDouble([gain]);
model.blocktype = new ScilabString(["c"]);
model.dep_ut = new ScilabBoolean([true,false]);
var exprs = [[strcat(sci2exp(gain))],[strcat(sci2exp(in))],[strcat(sci2exp(out))]];
var gr_i = [];
this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i);
}
|