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 /data_structures/generic_block3.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 'data_structures/generic_block3.js')
-rw-r--r-- | data_structures/generic_block3.js | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/data_structures/generic_block3.js b/data_structures/generic_block3.js deleted file mode 100644 index 82804f0..0000000 --- a/data_structures/generic_block3.js +++ /dev/null @@ -1,23 +0,0 @@ -function generic_block3 () { - - - var model = scicos_model(); - - var function_name = "sinblk"; - - var funtyp = 4; - model.sim=list(function_name,funtyp); - 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 = [[function_name;sci2exp(funtyp);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) -} |