how i can fix a code that i write its, in start up of matlab software?

조회 수: 1 (최근 30일)
xosro
xosro 2015년 3월 18일
댓글: Star Strider 2015년 3월 19일
i wish have code that it run automatically

채택된 답변

Star Strider
Star Strider 2015년 3월 18일
This is relatively easy to do, because when you create your startup file (as startup.m), it runs when MATLAB launches.
Create and save it in your regular MATLAB user directory (to test it), then copy it (on Windows machines, use File Explorer) to 'C:\Program Files\MATLAB\R2015a\toolbox\local\'. If you change it, you have to repeat this process, and you have to do it every time you upgrade to a new version of MATLAB. You can run it as you would any other .m file in your user path to test it.

추가 답변 (1개)

John D'Errico
John D'Errico 2015년 3월 18일
Put a call to it in startup.m

카테고리

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