Opened 13 years ago
Closed 13 years ago
#2172 closed defect (fixed)
Simulation results are not saved in file
| Reported by: | DaSilva | Owned by: | Willi Braun |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.9.0 |
| Component: | Run-time | Version: | 1.9.0Beta |
| Keywords: | Simuation algorithm discrete | Cc: |
Description
The changes during simulation of the elements of array "value" in the model in attachment are not saved in the result file.
Attachments (1)
Change History (4)
by , 13 years ago
| Attachment: | TestTriggerPkg.zip added |
|---|
comment:1 by , 13 years ago
| Component: | Backend → Run-time |
|---|---|
| Owner: | changed from to |
| Status: | new → assigned |
comment:2 by , 13 years ago
| Keywords: | algorithm discrete added; result array removed |
|---|---|
| Status: | assigned → accepted |
Note:
See TracTickets
for help on using tickets.

The issue here is that variable value should be discrete variable otherwise it's will always initialize with it's start value in an algorithm section.
So a fast work-a-round for that model is just to mark the variable "value" as discrete.
The bug that we don't detect that if variable is used in a for loop.