diff options
author | Adhitya Kamakshidasan | 2016-07-18 22:48:44 +0530 |
---|---|---|
committer | Adhitya Kamakshidasan | 2016-07-18 22:48:44 +0530 |
commit | 4dde75d68aece00eb1207d7c7187cb664c0017a9 (patch) | |
tree | 7feae8648a0013fe2b1170e621025ff21da2675a /history/data_structures/CBLOCK4.js | |
parent | 6f3bfe880a24caa05399d4c7153037ff88c7c394 (diff) | |
download | xcos-on-web-4dde75d68aece00eb1207d7c7187cb664c0017a9.tar.gz xcos-on-web-4dde75d68aece00eb1207d7c7187cb664c0017a9.tar.bz2 xcos-on-web-4dde75d68aece00eb1207d7c7187cb664c0017a9.zip |
Minor Changes
Diffstat (limited to 'history/data_structures/CBLOCK4.js')
-rw-r--r-- | history/data_structures/CBLOCK4.js | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/history/data_structures/CBLOCK4.js b/history/data_structures/CBLOCK4.js new file mode 100644 index 0000000..c4cfa2c --- /dev/null +++ b/history/data_structures/CBLOCK4.js @@ -0,0 +1,39 @@ +function CBLOCK4 () { + + + var funam = "toto"; + + var model = scicos_model(); + model.sim=list(new ScilabString([" "]),new ScilabDouble([2004])); + model.in1 = new ScilabDouble([1]); + model.in2 = new ScilabDouble([1]); + model.intyp = new ScilabDouble([1]); + model.out = new ScilabDouble([1]); + model.out2 = new ScilabDouble([1]); + model.outtyp = new ScilabDouble([1]); + model.dep_ut = new ScilabBoolean([true,false]); + + var label = list([funam; + "n"; + sci2exp([model.in1 model.in2]); + sci2exp(model.intyp); + sci2exp([model.out model.out2]); + sci2exp(model.outtyp); + sci2exp(model.evtin); + sci2exp(model.evtout); + sci2exp(model.state); + sci2exp(model.dstate); + sci2exp(model.odstate); + sci2exp(model.rpar); + sci2exp(model.ipar); + sci2exp(model.opar); + sci2exp(model.nmode); + sci2exp(model.nzcross); + sci2exp(model.firing); + "y"; + "n"],[]); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([4,2]),model,label,gr_i); + return new BasicBlock(this.x) +} |