MATLAB Answers

Matlab2020b version error - readonly Brace indexing is not supported for variables of this type

1 ビュー (過去 30 日間)
Chaoyang Jiang
Chaoyang Jiang 2021 年 6 月 25 日
回答済み: Deepak Meena 2021 年 7 月 2 日
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!
  1 件のコメント
Walter Roberson
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
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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by