Matlab2020b version error - readonly Brace indexing is not supported for variables of this type
2 次查看(过去 30 天)
显示 更早的评论
Hi there,
I am using the 2020b matlab version. Each time, as long as I open a vairable in workspace, I get the error saying: readonly, Brace indexing is not supported for vairables of this type".
This happens in matlab2020b version, but not in 2019b version.
May I know if there is any solution regarding this?
Thanks!![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/664895/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/664895/image.png)
1 个评论
Walter Roberson
2021-6-25
Experiment with
restoredefaultpath; rehash toolboxcache
If the problem disappears then you have some function on your path that is interfering with use of MATLAB library functions. For example, people who have SPM installed can have problems unless they remove a compatibility directory that SPM installs.
回答(1 个)
Deepak Meena
2021-7-2
Hi,
Do try the solution provided by the @Walter Roberson in the comments and also explain what exactly you meant by "opening the variables in the workspace".Provide some steps so we can try reproduce the probelm on our end.
Thanks
Deepak
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!