diff options
Diffstat (limited to 'history/data_structures/INIMPL_f.js')
-rw-r--r-- | history/data_structures/INIMPL_f.js | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/history/data_structures/INIMPL_f.js b/history/data_structures/INIMPL_f.js new file mode 100644 index 0000000..968ebb3 --- /dev/null +++ b/history/data_structures/INIMPL_f.js @@ -0,0 +1,25 @@ +function INIMPL_f () { + + + var model = scicos_model(); + model.sim = new ScilabString(["inimpl"]); + model.out = new ScilabDouble([-1]); + model.out2 = new ScilabDouble([1]); + model.ipar = new ScilabDouble([1]); + model.dep_ut = new ScilabBoolean([false,false]); + model.blocktype = new ScilabString(["c"]); + + var mo = modelica(); + mo.model = new ScilabString(["PORT"]); + mo.outputs = new ScilabString(["n"]); + model.equations=mo; + + var prt = 1; + + var exprs = "1"; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([1,1]),model,exprs,gr_i); + this.x.graphics.out_implicit = new ScilabString(["I"]); + return new ImplicitInBlock(this.x) +} |