summaryrefslogtreecommitdiff
path: root/data_structures/RAMP.js
blob: f6f442b50ada7efea1af4845d432bedbc400b486 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
function RAMP () {


	var slope = 0;

	var iout = 0;

	var stt = 0;

	var rpar = [[slope],[stt],[iout]];

	var model = scicos_model();
	model.sim=list("ramp",4);
	model.in = new ScilabDouble();
	model.out = new ScilabDouble([1]);
	model.rpar=rpar;
	model.blocktype = new ScilabString(["c"]);
	model.nmode = new ScilabDouble([1]);
	model.nzcross = new ScilabDouble([1]);
	model.dep_ut = new ScilabBoolean([false,true]);

	var exprs = [rpar.toString()];

	var gr_i = [];
	this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i);
}