file path error in matlab
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
ali hassan
el 5 de Feb. de 2022
Respondida: Davide Masiello
el 5 de Feb. de 2022
what does change folder and add to path means and how it works?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/885270/image.png)
0 comentarios
Respuesta aceptada
Davide Masiello
el 5 de Feb. de 2022
When you run a MatLab file, your current folder (often displayed on the left hand side) must be the one where that file is stored.
If you try to run that file from a different folder, than the dialogue box come up and it gives you the following choices:
Change Folder: changes the current folder to the one where the file is stored, so that it can run it.
Add to Path: adds the folder where the file is stored to the top of the search path for the current session, so that it can run it.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Search Path 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!