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 CenterFile Exchange에서 Entering Commands에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by