Clear Filters
Clear Filters

share data between multi runables or how to use global data

2 views (last 30 days)
hello, I am now using autosar package. how can I share data between difference runnable (time event, with difference solver time). if I used data store memory then with following error.
/*********************************************************************************************************************/
The blocks 'PMAHP/Subsystem5/Data Store Read34 (matlab:open_and_hilite_hyperlink ('PMAHP/Subsystem5/Data Store Read34','error'))' and 'PMAHP/Subsystem5/Task60ms/Data Store Read34 (matlab:open_and_hilite_hyperlink ('PMAHP/Subsystem5/Task60ms/Data Store Read34','error'))' are accessing the Data Store Memory block 'SEN_Filt_HP1_P2'. The two blocks execute in different runnables, which can lead to a lack of data integrity in the real-time environment. Consider adjusting the sample times of the blocks that access that data store. Alternatively, clear the 'Configuration Parameters' > 'Solver' > 'Treat each discrete rate as a separate task' option. /*********************************************************************************************************************/
Is there any other way to used globe data consider 2 point:
1. code generated as user module, not related to RTE.
2. can be accessible by multi runnable, and also multi sub-system.

Answers (0)

Categories

Find more on AUTOSAR Blockset in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!