Dot indexing is not supported for variables of this type - Model Advisor
15 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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?
0 Kommentare
Antworten (1)
Shivam Lahoti
am 12 Nov. 2024
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.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Run Model Advisor Checks finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!