Error Matlab 2022 and 2023 : Undefined function 'find' for input arguments of type 'pattern'

조회 수: 9 (최근 30일)
Hello,
I found this kind of error recently on my matlab 2022a, 2022b, and even 2023 : Undefined function 'find' for input arguments of type 'pattern'. Before (1-2 months ago) they worked fine. Anyone know this issue?
  댓글 수: 5
Dyuman Joshi
Dyuman Joshi 2023년 7월 16일
Please copy and paste the whole error message i.e. all of the red text.
Also, post the code where you use the function find() and it gives the error.
Adi Purwandana
Adi Purwandana 2023년 7월 16일
FYI, 2 months ago there was no problem. I don't think it's my script failure. Now, even I can't add any single component (axes, button etc) in app designer, and got this message:

댓글을 달려면 로그인하십시오.

채택된 답변

Adi Purwandana
Adi Purwandana 2023년 7월 17일
이동: Rik 2023년 7월 17일
Hello everyone,
I thought my problem is solved after following the answer by Prashanth Soundararajan on this thread:
It's simply related to path issues, so it's simply solved by:
Try restoring the default path by typing the following in the MATLAB Command Window:
>>restoredefaultpath
>>rehash toolboxcache
>>savepath

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by