필터 지우기
필터 지우기

share data between multi runables or how to use global data

조회 수: 2 (최근 30일)
Zhenwei Sun
Zhenwei Sun 2018년 8월 24일
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.

답변 (0개)

카테고리

Help CenterFile Exchange에서 AUTOSAR Blockset에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by