Dot indexing is not supported for variables of this type - Model Advisor

8 次查看(过去 30 天)
I am trying to run the MISRA C:2012 modelling standards checks on my model. When performing the checks that require an update diagram I get the error
But running a usual update model or building the model is fine.
Can anyone point me in the direction that could fix this?

回答(1 个)

Shivam Lahoti
Shivam Lahoti 2024-11-12,8:10
Hi Matthew,
I understand you are getting the following error in Model Advisor:
"Dot indexing is not supported for variables of this type"
I have encountered the same error rather sporadically in the Model Advisor Configuration Editor. However, this error mostly disappears upon restarting the MATLAB session. If this doesn't work, then try running the following command in the MATLAB command line:
rehash toolbox
rehash toolboxcache
Running these command has helped me resolve this issue. I hope this would help you too.
Regards,
Shivam.

类别

Help CenterFile Exchange 中查找有关 Run Model Advisor Checks 的更多信息

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by