Error in Vehicle dynamics blockset constant radius reference application
5 次查看(过去 30 天)
显示 更早的评论
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 个评论
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
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!
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!