Opened 5 years ago
Last modified 4 years ago
#6092 new defect
Wrong time display for parameter for simulation not starting at 0
| Reported by: | Andreas Heuermann | Owned by: | Adeel Asghar |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | OMEdit | Version: | v1.16.0-dev |
| Keywords: | mat, oarameter | Cc: |
Description
When simulating this simple model
model paramTime
parameter Real x = 1;
equation
annotation(
experiment(StartTime=1, StopTime=2, Tolerance=1e-6, Interval=0.002));
end paramTime;
from StartTime=1 OMEdit will display the time axis in the plot window starting at time=0 and not starting from 1.
This only happens for mat-files, since we don't export parameters to CSV anyway (see #2876).
I guess we save parameters only at one time point and that this point is not startTime but 0.
Note:
See TracTickets
for help on using tickets.

Retargeted to 1.18.0 because of 1.17.0 timed release.