Error in Vehicle dynamics blockset constant radius reference application

4 Ansichten (letzte 30 Tage)
Yahia Mohamed
Yahia Mohamed am 26 Mär. 2025
Beantwortet: Sahas am 10 Apr. 2025
I am using vehicle dynamics blockset in Matlab 2024b. During the compilation of the file CRReferenceApplication, I got the following error,
  • Brace indexing is not supported for variables of this type.
And it doesn't say anything about the location of the error and where it is from. Can anyone help?
  4 Kommentare
Yahia Mohamed
Yahia Mohamed am 26 Mär. 2025
Bearbeitet: Yahia Mohamed am 26 Mär. 2025
Thank you Mike for your answer. I have opened the model by running "vdynblksConstRadiusStart" and ran the model that was opened. And I have the latest update of R2024b. I have attached a screenshot for the error.
Mike Sasena
Mike Sasena am 9 Apr. 2025
Hi Yahia,
It's not clear to me why we're running the same model and getting 2 different answers. Perhaps it's a difference in which compiler we're using (I'm using MinGW-win64). At this point, my recommendation is to contact MathWorks Tech Support team. They can work with you directly to debug the problem.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Sahas
Sahas am 10 Apr. 2025
Looks like MATLAB is misrecognizing some local variables as functions. Running the following commands in the Command Window might resolve this issue:
>> restoredefaultpath
>> rehash toolboxcache
I hope this helps!

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Produkte


Version

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by