summaryrefslogtreecommitdiff
path: root/history/data_structures/BPLATFORM.js
blob: a7e7da45051789d36b5b10918cdc00c45d59ed5f (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
27
28
29
30
31
32
function BPLATFORM () {


	var plen = 2;

	var csiz = 2;

	var phi = 0;

	var xmin = -5;

	var xmax = 5;

	var ymin = 0;

	var ymax = 15;

	var model = scicos_model();
	model.sim=list(new ScilabString(["bplatform2"]),new ScilabDouble([5]));
	model.in1 = new ScilabDouble([1],[1]);
	model.evtin = new ScilabDouble([1]);
	model.dstate = new ScilabDouble([0]);
	model.rpar = new ScilabDouble([plen],[csiz],[phi],[xmin],[xmax],[ymin],[ymax]);
	model.blocktype = new ScilabString(["d"]);
	model.dep_ut = new ScilabBoolean([false,false]);

	var exprs = string(model.rpar);

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