Dot indexing is not supported for variables of this type

1 回表示 (過去 30 日間)
Mandana Fröhlich
Mandana Fröhlich 2021 年 3 月 26 日
コメント済み: Chidvi Modala 2021 年 3 月 31 日
hi
i just want to open help > check for updates and this error pops up:
Dot indexing is not supported for variables of this type.
(Other things aren't working either but I could imagine that it all relates to the same issue.)
Thanks and kind regards
  2 件のコメント
Gaurav Garg
Gaurav Garg 2021 年 3 月 29 日
Hi Mandana,
Could you tell me the steps to reproduce this error? If possible, also share the screenshot of the error you are facing.
Mandana Fröhlich
Mandana Fröhlich 2021 年 3 月 29 日
Hi Gaurav
There's not much to reproduce. I open Matlab and would like to check for updates then this error comes up.
Thanks for the help!

サインインしてコメントする。

採用された回答

Chidvi Modala
Chidvi Modala 2021 年 3 月 31 日
You may try executing the following command
rehash toolboxcache
If that doesn't help, provide the following information that might help in understanding the issue
  • I think possibly there has been some of your own code or mex function with the same name similar to the ones that ships with MATLAB and is needed for Check For Updates. Can you provide the list of what's on your MATLAB path?
  • There can be some basic MATLAB commands being replaced by your files with similar names, or the installation itself can be corrupted. So can you provide the installation log file? Here is a link on how to find installation log file.
  2 件のコメント
Mandana Fröhlich
Mandana Fröhlich 2021 年 3 月 31 日
the rehash command gave this warning:
Warning: Function labindex has the same name as a MATLAB builtin. We suggest you rename the
function to avoid a potential name conflict.
Warning: Function numlabs has the same name as a MATLAB builtin. We suggest you rename the
function to avoid a potential name conflict.
and it still didn't work.
Please find attached my path list (its just MATLAB stuff). Also my installation log file ( im not sure though if i did it correctly).
Chidvi Modala
Chidvi Modala 2021 年 3 月 31 日
If you have any custom functions that match the same name as built-in functions you could be getting these messages. Matlab might be calling some built-in functions when you click on help to check for updates. But you have functions named the same as few built-in functions like labindex and numlabs. You might need to rename those functions and then execute rehash toolboxcache.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeEntering Commands についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by