Matlab2020b version error - readonly Brace indexing is not supported for variables of this type
2 ビュー (過去 30 日間)
Chaoyang Jiang 2021 年 6 月 25 日
回答済み: Deepak Meena 2021 年 7 月 2 日
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?
Walter Roberson 2021 年 6 月 25 日
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 日
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.
Find more on Introduction to Installation and Licensing 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!