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

9 visualizaciones (últimos 30 días)
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 comentarios
Dyuman Joshi
Dyuman Joshi el 16 de Jul. de 2023
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 el 16 de Jul. de 2023
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:

Iniciar sesión para comentar.

Respuesta aceptada

Adi Purwandana
Adi Purwandana el 17 de Jul. de 2023
Movida: Rik el 17 de Jul. de 2023
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

Más respuestas (0)

Categorías

Más información sobre Loops and Conditional Statements en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by