Connector errors on startup (MATLAB R2021b, macOS 12.0.1)
조회 수: 1 (최근 30일)
이전 댓글 표시
Upon startup of a fresh installation of R2021b on macOS 12.0.1, I receive the following error messages:
Error using any
Invalid data type. First argument must be numeric or logical.
Error in contains (line 8)
out = any(strfind(str,pattern));
Error in connector.internal.lifecycle.callLifecycle
Error in connector.internal.lifecycle.callConnectorStarted
Attempting to use MATLAB results in continual errors when even the simplest tasks (such as setting axis limits on a plot) are attempted. Any suggestions on how to resolve this would be appreciated.
댓글 수: 0
답변 (1개)
Sivani Pentapati
2022년 1월 6일
Hi Todd,
These types of issues happen due to path issues and also when the cache is not up to date. You can resolve the error by restoring to the default MATLAB search path and rehash the toolbox cache. Please refer to the below answer for a detailed explanation of the workaround.
댓글 수: 2
Walter Roberson
2022년 1월 7일
isgraphics() is a MATLAB built-in in R2021b. You should not be able to see any code for it. The built-in isgraphics() does not use that code out = ishandle(h) && strcmpi(get(h,'type'),type);
isgraphics() is, if I recall correctly, provided by one of the more common third-party toolboxes... something like SPM; in the toolbox I am thinking of, it (and a couple of others) are provided in a subdirectory intended for compatiability with R2013a and earlier.
참고 항목
카테고리
Help Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!