Error in Vehicle dynamics blockset constant radius reference application

조회 수: 5 (최근 30일)
Yahia Mohamed
Yahia Mohamed 2025년 3월 26일
답변: Sahas 2025년 4월 10일
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
Yahia Mohamed
Yahia Mohamed 2025년 3월 26일
편집: Yahia Mohamed 2025년 3월 26일
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 2025년 4월 9일
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.

댓글을 달려면 로그인하십시오.

답변 (1개)

Sahas
Sahas 2025년 4월 10일
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!

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품


릴리스

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by