summaryrefslogtreecommitdiff
path: root/webapp/history/data_structures/SampleCLK.js
blob: 51bf28a081192d1beb6a251dd5e7cc471ad8b5a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
function SampleCLK () {


	var model = scicos_model();
	model.sim = new ScilabString(["sampleclk"]);
	model.evtout = new ScilabDouble([1]);
	model.rpar = new ScilabDouble([1,0]);
	model.blocktype = new ScilabString(["d"]);
	model.firing = new ScilabDouble([-1]);
	model.dep_ut = new ScilabBoolean([false,false]);

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