functionfilterSimulationResults
Creates a simulation results file with selected variables.
Information
Takes one simulation result and filters out the selected variables only, producing the output file.
If numberOfIntervals<>0, re-sample to that number of intervals, ignoring event points (might be changed in the future).
if removeDescription=true, the description matrix will contain 0-length strings, making the file smaller.
if hintReadAllVars=true, the whole mat-file will be read at once (this is faster but uses more memory if you only use few variables from the file). May cause a crash if there is not enough virtual memory.
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| String | inFile | ||
| String | outFile | ||
| String | vars | ||
| Integer | numberOfIntervals | 0 | 0=Do not resample |
| Boolean | removeDescription | false | |
| Boolean | hintReadAllVars | true |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | success |
Revisions
| Revision | Author | Comment |
|---|---|---|
| 1.13.0 | sjoelund.se | Introduced removeDescription. |