Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6084419
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T11:31:09+00:00 2026-05-23T11:31:09+00:00

I am working with Matlab R2011a. I want to set a path at c:\matlab

  • 0

I am working with Matlab R2011a. I want to set a path at c:\matlab (say). But it seems that the path setting is not saved and I need to reset the path every time I start Matlab. Please advise.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T11:31:10+00:00Added an answer on May 23, 2026 at 11:31 am

    If you want to start Matlab in a specific path, and have that path automatically added to your search path, you modify the userpath setting:

    userpath('C:\matlab')
    

    If you want to start Matlab in a specific path without having that path added to your search path, you have two options:

    1) Create a file startup.m in the folder C:\Program Files\MATLAB\R2011a\toolbox\local and write in the file cd('C:\matlab'). This way, whenever Matlab is started, it changes the path (you can also add other commands that should be executed upon startup).

    2) Right-click onto the Matlab icon you normally use to start up the program, and in the properties, write C:\matlab in the Start in line. Thus, whenever you start Matlab from the shortcut (but not otherwise), Matlab will change path.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here is the matlab code: javaclasspath(pwd); % set java path to current working directory
This method is working totally right in matlab. but, when I compiled it in
I am working on image processing. I need to develop OCR tool using matlab.
I am currently working on a function for averaging images in MATLAB . But
I'm working with a Matlab API that loads data from a proprietary format into
I'm working with a matlab code package that was handed down to me. It
I'm working on a Matlab GUI application that has multiple views. It behaves sort
I have some MATLAB code I've been working with. There are three sections, say
I have some experience in working with java, but many are telling MATLAB will
I have a working MATLAB code, which works fine on another machine, but when

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.