Simulink error using Data Store Read/Write
26 views (last 30 days)
I get the following error when I compile my model:
The block 'Util/Common/ReadToggled_LampTest' is reading from the data store 'Util/Common/Toggled_LampTest' before one or more blocks have written to this entire region of memory at time 0.0
I search the internet with different versions of the error that I got and I didn’t see anything on the error that I currently have. What do I need to do to fix this error without setting my configuration parameters from error to warning?
Kaustubha Govind on 10 Oct 2012
Have you verified that 'Util/Common/ReadToggled_LampTest' is indeed not reading from 'Util/Common/Toggled_LampTest' before it's been written to? You can look at the block sorted order to see if 'Util/Common/ReadToggled_LampTest' is executing before the block that writes to 'Util/Common/Toggled_LampTest' does.