blob: 3b5337c117c14d894503f2f438e245cca4db0462 (
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
26
27
28
29
30
31
32
33
|
function OUTIMPL_f() {
OUTIMPL_f.prototype.define = function OUTIMPL_f() {
var model = scicos_model();
model.in = new ScilabDouble([-1]);
model.in2 = new ScilabDouble([1]);
this.prt = 1;
model.sim = new ScilabString(["outimpl"]);
model.ipar = new ScilabDouble([1]);
model.blocktype = new ScilabString(["c"]);
model.dep_ut = new ScilabBoolean([false, false]);
var mo = new modelica_function();
mo.model = new ScilabString(["PORT"]);
mo.inputs = new ScilabString(["n"]);
mo.outputs = new ScilabDouble();
model.equations = mo;
var exprs = new ScilabString(["1"]);
var gr_i = new ScilabString(["xstringb(orig(1),orig(2),"OUTIMPL_f",sz(1),sz(2));"]);
this.x = new standard_define(new ScilabDouble([1, 1]), model, exprs, gr_i);
this.x.graphics.in_implicit = new ScilabString(["I"]);
this.implicitOutBlock = new ImplicitOutBlock(this.x);
this.displayParameter = [this.implicitOutBlock.ordering];
return this.implicitOutBlock;
}
OUTIMPL_f.prototype.details = function OUTIMPL_f() {
return this.x;
}
}
|