Symbolic Toolbox error: mustBeComp​atibleRefe​renceStruc​t

조회 수: 14 (최근 30일)
Carlos M. Velez S.
Carlos M. Velez S. 2023년 2월 23일
댓글: Carlos M. Velez S. 2023년 3월 16일
In MATLAB desktop app (not in MATLAB Online) this error started appearing:
What's the matter? I am using version 2020b.
  댓글 수: 4
Steven Lord
Steven Lord 2023년 2월 23일
What does this command show in your MATLAB installation?
which -all mustBeCompatibleReferenceStruct
Can you also post the output of the following command (you can omit the line showing the license number) so we can make sure you're using the correct version of the toolbox for your release?
ver symbolic
Carlos M. Velez S.
Carlos M. Velez S. 2023년 2월 27일
Hi. The commands shows these messages:
I did not installed anything and I did not have any problem before. I use an institutional PC and I can not install any program. How can I solve the issue? Thanks.

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

채택된 답변

Jinal
Jinal 2023년 3월 15일
Hi Carlos,
As per my understanding you are facing an error while using the ‘syms’ command despite having the correct version of symbolic toolbox installed on your PC. The error you are getting indicates that the code for the function ‘mustbecompatibleReferencestruct’ is either missing or not accessible to the function ‘subsref’. A possible explanation for this is that the code for the 'syms' tool has been modified on your PC.
You can try using the following commands to resolve the error.
restoredefaultpath
rehash toolboxcache
If the error persists after running these commands, you will be required to reinstall the symbolic toolbox for your MATLAB from the Add-Ons Manager.
Hope this helps.
  댓글 수: 1
Carlos M. Velez S.
Carlos M. Velez S. 2023년 3월 16일
Thank you very much.
The solution was using restoredefaultpath and rehash toolboxcache.

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

추가 답변 (0개)

카테고리

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

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by