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