Borrar filtros
Borrar filtros

share data between multi runables or how to use global data

2 visualizaciones (últimos 30 días)
Zhenwei Sun
Zhenwei Sun el 24 de Ag. de 2018
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.

Respuestas (0)

Categorías

Más información sobre AUTOSAR Blockset en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by