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.
  2 件のコメント
xosro
xosro 2015 年 3 月 19 日
thank you so much
Star Strider
Star Strider 2015 年 3 月 19 日
My pleasure!

サインインしてコメントする。

その他の回答 (1 件)

John D'Errico
John D'Errico 2015 年 3 月 18 日
Put a call to it in startup.m

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by