Matlab2020b version error - readonly Brace indexing is not supported for variables of this type
2 views (last 30 days)
Show older comments
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 Comment
Walter Roberson
on 25 Jun 2021
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.
Answers (1)
Deepak Meena
on 2 Jul 2021
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 Comments
See Also
Categories
Find more on Get Started with MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!