Change what folder matlab starts up with

조회 수: 1 (최근 30일)
Lucas
Lucas 2012년 7월 2일
Ok this is probably a stupid question but nothing I found on the internet works for me. When you start up MatLab there's the current folder box at the top where you can browse to a directory you want MatLab to look for file in. Is there anyway that I can set there the folder looks at the start. Make it go from:
'C:\Documents and Settings\comp101'
to:
'C:\Documents and Settings\comp101\Desktop'
something like that.

채택된 답변

Adam Filion
Adam Filion 2012년 7월 2일
  댓글 수: 2
Sean de Wolski
Sean de Wolski 2012년 7월 2일
strcmp('startup.m','start-up.m')
Adam Filion
Adam Filion 2012년 7월 2일
If you need it to start directly there rather than run a script first, then you need to try one of the other two options. Either of those should start it directly in that folder.

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

grapevine
grapevine 2012년 7월 2일
편집: grapevine 2012년 7월 2일

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by