Startup MATLAB in last working folder

Directions for having MATLAB® start in the last working folder.
4K Downloads
Aktualisiert 1. Sep 2016

Lizenz anzeigen

Anmerkung des Herausgebers: This file was selected as MATLAB Central Pick of the Week

This submission provides directions on how to instruct MATLAB to begin in the final working directory from the previous session of MATLAB.
There are no m-files included with this submission, just directions on how to modify startup.m and finish.m
Note: This capability was introduced directly into MATLAB, so these directions are no longer as of R2014b. There is now a preference (Preferences -> MATLAB -> General) to specify the initial working folder as the last working folder from your previous MATLAB session.

Zitieren als

Michelle Hirsch (2024). Startup MATLAB in last working folder (https://www.mathworks.com/matlabcentral/fileexchange/5793-startup-matlab-in-last-working-folder), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R13
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Startup and Shutdown finden Sie in Help Center und MATLAB Answers
Quellenangaben

Inspiriert: Restore Last Working Directory

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.3.0.1

Updated license

1.3.0.0

Added note that there's a preference to control this introduced in R2014b.

1.2.0.0

Removed mistaken attribution.

1.1.0.0

Updated copyright.

1.0.0.0