Matlab2017b does not recognize functions in program folder

11 visualizaciones (últimos 30 días)
Jan
Jan el 22 de Oct. de 2017
Respondida: Image Analyst el 22 de Oct. de 2017
I am reworking an old program, and put the old functions in a subdir inside the main program dir. While editing, I double-click on the desired functions to open them in the editor as I need them. I rename them and save them in the main program dir. When I run the program (F5), intermittently the program crashes as Matlab (Windows 10) claims to have encountered an "Undefined function or variable". The "missing" edited functions are absolutely there. Only way to remedy this, is to restart Matlab. Any thoughts?

Respuestas (1)

Image Analyst
Image Analyst el 22 de Oct. de 2017
Click on the Set path button on the Home tool ribbon tab. Then add the main folder with sub folders. Click Save and Close to add those to the permanent path.

Categorías

Más información sobre Environment and Settings en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by