How do I set the default/initial working folder for MATLAB?
295 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
MathWorks Support Team
el 11 de Oct. de 2012
Editada: MathWorks Support Team
el 2 de Feb. de 2021
How do I set the default/initial working folder for MATLAB?
Respuesta aceptada
MathWorks Support Team
el 18 de Nov. de 2020
Editada: MathWorks Support Team
el 1 de Dic. de 2020
You can set the initial working folder in MATLAB through the following Preference settings:
1. Open the Preferences window
2. Navigate to the General options
3. Select the option to specify a path to a folder under the Initial working folder options, and enter the desired directory
4. Press Apply and/or OK to save your changes
5. Restart MATLAB to verify the new location is set as expected.
Additional information can be found in the MATLAB documentation:
MATLAB Startup Folder
2 comentarios
Sandip Kumar
el 27 de Ag. de 2014
Editada: MathWorks Support Team
el 2 de Feb. de 2021
Hi Ben,
The startup file should be kept at a writable location and not inside the installation directory. There are many directories in the path of MATLAB. One such folder is <user directory>\Documents\MATLAB
Have the startup file in that location, and then inside the startup.m, you can force MATLAB to start in a desired directory as the article above says.
If you continue seeing the issue, I would recommend contacting Technical support using one of the methods mentioned here: https://www.mathworks.com/support/contact_us.html
Thanks Sandip
Más respuestas (0)
Ver también
Categorías
Más información sobre Startup and Shutdown en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!