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


	var in = 2;

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

	var exprs = in.toString();

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