blob: 968ebb33e265d1de4f007ad7c26ff96b35fa7c43 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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)
}
|