Menu

How can I remove ODTBX from Matlab startup?

Help
2019-05-08
2019-05-15
  • Fabian Aguilar

    Fabian Aguilar - 2019-05-08

    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:

    Warning: Invalid file or directory
    'C:\...\ODTBX4_0\Jat'. 
    > In javaclasspath>local_validate_dynamic_path (line 271)
      In javaclasspath>local_javapath (line 187)
      In javaclasspath (line 124)
      In javaaddpath (line 71)
      In startup (line 227) 
    

    How can I remove the startup.m file from the matlab path?

    Thanks!

     
  • Kevin Berry

    Kevin Berry - 2019-05-13

    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
    • Ravi Mathur

      Ravi Mathur - 2019-05-13

      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:

      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.


      How can I remove ODTBX from Matlab startup?


      Sent from sourceforge.net because you indicated interest in <
      https://sourceforge.net/p/odtbx/discussion/help/>

      To unsubscribe from further messages, please visit <
      https://sourceforge.net/auth/subscriptions/>

      This message is from an external sender. Learn more about why this <<
      matters at https://links.utexas.edu/rtyclf. <<

       
      👍
      1
  • Fabian Aguilar

    Fabian Aguilar - 2019-05-15

    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!

     
MongoDB Logo MongoDB