Error in Vehicle dynamics blockset constant radius reference application
Mostrar comentarios más antiguos
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 comentarios
Yahia Mohamed
el 26 de Mzo. de 2025
Mike Sasena
el 26 de Mzo. de 2025
Yahia, can you provide more info about what you've done? I cannot reproduce your error. In my case, I ran >>vdynblksConstRadiusStart, then simulated the model that was opened. There were no errors in my case. You could also check to see if you have the latest Update for R2024b. At this time, R2024b Update 5 is available.
Yahia Mohamed
el 26 de Mzo. de 2025
Editada: Yahia Mohamed
el 26 de Mzo. de 2025
Mike Sasena
el 9 de Abr. de 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.
Respuestas (1)
Sahas
el 10 de Abr. de 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!
Categorías
Más información sobre Introduction to Installation and Licensing en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
