why there is a warning if my data store memory is only used in a task?

조회 수: 2 (최근 30일)
Xu Liu
Xu Liu . 2019년 7월 15일
Hi everyone,
i use data store memory to store my global variebles, and change it in my stataflow model , and there is a warinning information :
The block 'Double3_SIC_122kw_335_V1_2_t_20190715/ad7981_voltage/AD7981' is writing to element 1 of the data store 'Double3_SIC_122kw_335_V1_2_t_20190715/CLK' but the block 'Double3_SIC_122kw_335_V1_2_t_20190715/ad7981_voltage/AD7981' has already written to this memory at time 0.003. For performance reasons, occurrences of this diagnostic for this memory at other simulation time steps will be suppressed.
I know that when different task with different sampling rate use a data store memory, there will be a warining or err (depending on my set),the quesition is that now in my modle there is just a taks uses it, why the warning happen?what's more work i need to consider?

답변 (0개)


Help CenterFile Exchange에서 Deployment, Integration, and Supported Hardware에 대해 자세히 알아보기




Community Treasure Hunt

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

Start Hunting!

Translated by