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


	var out = 2;

	var model = scicos_model();
	model.sim=list(new ScilabString(["demux"]),new ScilabDouble([1]));
	model.in1 = 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 = string(out);

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