Go to Documents\MATLAB and delete startup.m.
Alternately, you can rename it to something that Matlab won't recognize (like startup.old) or edit it to remove the ODTBX lines (if you have other startup items that you want to retain).
If that doesn't work, open Matlab and type which('startup.m') into the Command Window. That will tell you where Matlab is finding the startup.m file.
👍
1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Kevin is correct regarding the steps to remove the Matlab startup file.
Note that ODTBX does not alter your Matlab installation in any way, except
for putting a custom startup.m file into your user Documents\Matlab folder.
So when you reinstalled Windows you probably (inadvertently) copied that
file over to your new install. Removing it as Kevin suggested will return
your Matlab startup environment to its default state (after restarting
Matlab).
Go to Documents\MATLAB and delete startup.m.
Alternately, you can rename it to something that Matlab won't recognize
(like startup.old) or edit it to remove the ODTBX lines (if you have other
startup items that you want to retain).
If that doesn't work, open Matlab and type which('startup.m') into the
Command Window. That will tell you where Matlab is finding the startup.m
file.
Hello all,
I used the ODTBX 4.0 version two years ago. I had to reinstall windows and all the software include matlab.
I am not using this toobox anymore but every time I open Matlab I get the following warning:
How can I remove the startup.m file from the matlab path?
Thanks!
Go to Documents\MATLAB and delete startup.m.
Alternately, you can rename it to something that Matlab won't recognize (like startup.old) or edit it to remove the ODTBX lines (if you have other startup items that you want to retain).
If that doesn't work, open Matlab and type which('startup.m') into the Command Window. That will tell you where Matlab is finding the startup.m file.
Kevin is correct regarding the steps to remove the Matlab startup file.
Note that ODTBX does not alter your Matlab installation in any way, except
for putting a custom startup.m file into your user Documents\Matlab folder.
So when you reinstalled Windows you probably (inadvertently) copied that
file over to your new install. Removing it as Kevin suggested will return
your Matlab startup environment to its default state (after restarting
Matlab).
On Mon, May 13, 2019 at 10:11 AM Kevin Berry keberry@users.sourceforge.net
wrote:
Thank you very much for the help guys, Kevin was right.
Also Ravi, you were right I copied the "startup.m" file on my backup without noticing.
Thank you very much for the help!