summaryrefslogtreecommitdiff
path: root/data_structures/DEMUX.js
blob: b84b2cfda8c6f76b9ca94c6100ba7f726555fb43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
function DEMUX () {


	var out = 2;

	var model = scicos_model();
	model.sim=list("multiplex",4);
	model.in = new ScilabDouble([0]);
	model.out=-...transpose([1:out]);
	model.ipar=new ScilabDouble([out]);
	model.blocktype = new ScilabString(["c"]);
	model.firing = new ScilabDouble();
	model.dep_ut = new ScilabBoolean([true,false]);

	var exprs = out.toString();

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