| LTPDA Toolbox™ | contents | ![]() |
SMODEL constructor for smodel class. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% DESCRIPTION: SMODEL constructor for smodel class. CONSTRUCTOR: mdl = smodel() - creates an empty smodel object mdl = smodel('foo.mu') - construct from MuPAD file mdl = smodel('expression') - construct from a expression description Parameters Description %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
| Method Details | |
|---|---|
| Access | public |
| Defining Class | smodel |
| Sealed | 0 |
| Static | 0 |
| Sets for this method … |
|---|
| Default |
| From MAT File |
| From XML File |
| From Repository |
| From Built-in Model |
| From Expression |
| From ASCII File |
Default |
|||
|---|---|---|---|
| no description | |||
| Key | Default Value | Options | Description |
| ltpda_uoh.addGlobalKeys | |||
| NAME | '' | none | The name of the constructed object. |
| DESCRIPTION | '' | none | The description of the constructed object. |
| TIMESPAN | [] | none | Give a timespan for the object. |
| CALLERISMETHOD | [] | none | Allow an override of the caller is method feature. |
Example |
|---|
| plist('NAME', '', 'DESCRIPTION', '', 'TIMESPAN', [[]], 'CALLERISMETHOD', [[]]) |
back to top
From MAT File |
|||
|---|---|---|---|
| no description | |||
| Key | Default Value | Options | Description |
| ltpda_uoh.addGlobalKeys | |||
| NAME | '' | none | The name of the constructed object. |
| DESCRIPTION | '' | none | The description of the constructed object. |
| TIMESPAN | [] | none | Give a timespan for the object. |
| CALLERISMETHOD | [] | none | Allow an override of the caller is method feature. |
| ltpda_uo.buildplist | |||
| FILENAME | '' | none | MAT filename. |
Example |
|---|
| plist('NAME', '', 'DESCRIPTION', '', 'TIMESPAN', [[]], 'CALLERISMETHOD', [[]], 'FILENAME', '') |
back to top
From XML File |
|||
|---|---|---|---|
| no description | |||
| Key | Default Value | Options | Description |
| ltpda_uoh.addGlobalKeys | |||
| NAME | '' | none | The name of the constructed object. |
| DESCRIPTION | '' | none | The description of the constructed object. |
| TIMESPAN | [] | none | Give a timespan for the object. |
| CALLERISMETHOD | [] | none | Allow an override of the caller is method feature. |
| ltpda_uo.buildplist | |||
| FILENAME | '' | none | XML filename. |
Example |
|---|
| plist('NAME', '', 'DESCRIPTION', '', 'TIMESPAN', [[]], 'CALLERISMETHOD', [[]], 'FILENAME', '') |
back to top
From Repository |
|||
|---|---|---|---|
| no description | |||
| Key | Default Value | Options | Description |
| ltpda_uoh.addGlobalKeys | |||
| NAME | '' | none | The name of the constructed object. |
| DESCRIPTION | '' | none | The description of the constructed object. |
| TIMESPAN | [] | none | Give a timespan for the object. |
| CALLERISMETHOD | [] | none | Allow an override of the caller is method feature. |
| ltpda_uo.buildplist | |||
| HOSTNAME | '' | none | Database server hostname. |
| DATABASE | '' | none | Database name. |
| USERNAME | '' | none | User name to use when connecting to the database. Leave blank to be prompted. |
| PASSWORD | {} [0x0] | none | Password to use when connecting to the database. Leave blank to be prompted. |
| CONN | [] | none | Java mysql object. |
| ID, IDS | [] | none | A vector of object IDs. |
| CID | [] | none | A vector of collection IDs. |
| UUID, UUIDS | {} [0x0] | none | A cell array of UUIDs. |
| BINARY | 1 |
|
Use binary representation (not always available). |
Example |
|---|
| plist('NAME', '', 'DESCRIPTION', '', 'TIMESPAN', [[]], 'CALLERISMETHOD', [[]], 'HOSTNAME', '', 'DATABASE', '', 'USERNAME', '', 'PASSWORD', cell(0,0), 'CONN', [[]], 'ID', [[]], 'CID', [[]], 'UUID', cell(0,0), 'BINARY', [true]) |
back to top
From Built-in Model |
|||
|---|---|---|---|
| no description | |||
| Key | Default Value | Options | Description |
| ltpda_uoh.addGlobalKeys | |||
| NAME | '' | none | The name of the constructed object. |
| DESCRIPTION | '' | none | The description of the constructed object. |
| TIMESPAN | [] | none | Give a timespan for the object. |
| CALLERISMETHOD | [] | none | Allow an override of the caller is method feature. |
| ltpda_uo.buildplist | |||
| BUILT-IN | '' | none | Choose one of the built-in models. (use class.getBuiltInModels to get a list for a particular user class) |
| VERSION | [] | none | Version of the built in model. The default version is used for the case that no 'Version' is defined. |
Example |
|---|
| plist('NAME', '', 'DESCRIPTION', '', 'TIMESPAN', [[]], 'CALLERISMETHOD', [[]], 'BUILT-IN', '', 'VERSION', [[]]) |
back to top
From Expression |
|||
|---|---|---|---|
| no description | |||
| Key | Default Value | Options | Description |
| ltpda_uoh.addGlobalKeys | |||
| NAME | '' | none | The name of the constructed object. |
| DESCRIPTION | '' | none | The description of the constructed object. |
| TIMESPAN | [] | none | Give a timespan for the object. |
| CALLERISMETHOD | [] | none | Allow an override of the caller is method feature. |
| smodel.buildplist | |||
| EXPRESSION | '' | none | Expression of the model. |
| PARAMS | {} [0x0] | none | Parameters which are used in the model. |
| VALUES | {} [0x0] | none | Default values for the parameters. |
| XVAR | '' | none | The X-dependent variable. |
| XVALS | {} [0x0] | none | Values for the x-variable. |
| YUNITS | '' | none | Units of the y output. |
| XUNITS | '' | none | Units of the x output. |
Example |
|---|
| plist('NAME', '', 'DESCRIPTION', '', 'TIMESPAN', [[]], 'CALLERISMETHOD', [[]], 'EXPRESSION', '', 'PARAMS', cell(0,0), 'VALUES', cell(0,0), 'XVAR', '', 'XVALS', cell(0,0), 'YUNITS', '', 'XUNITS', '') |
back to top
From ASCII File |
|||
|---|---|---|---|
| no description | |||
| Key | Default Value | Options | Description |
| ltpda_uoh.addGlobalKeys | |||
| NAME | '' | none | The name of the constructed object. |
| DESCRIPTION | '' | none | The description of the constructed object. |
| TIMESPAN | [] | none | Give a timespan for the object. |
| CALLERISMETHOD | [] | none | Allow an override of the caller is method feature. |
| smodel.buildplist | |||
| FILENAME | '' | none | ASCII filename. |
| XVALS | {} [0x0] | none | Values for the x-variable. |
| YUNITS | '' | none | Units of the y output. |
| XUNITS | '' | none | Units of the x output. |
Example |
|---|
| plist('NAME', '', 'DESCRIPTION', '', 'TIMESPAN', [[]], 'CALLERISMETHOD', [[]], 'FILENAME', '', 'XVALS', cell(0,0), 'YUNITS', '', 'XUNITS', '') |
back to top
| Some information of the method smodel/smodel are listed below: | |
|---|---|
| Class name | smodel |
| Method name | smodel |
| Category | Constructor |
| Package name | ltpda |
| Can be used as modifier | 0 |
| Supported numeric types | {'double'} |
|
Method: smodel/rebuild | Method: smodel/addAliases | ![]() |
©LTP Team