how to auto run the script after matlab start up

14 views (last 30 days)
博
on 14 Feb 2026 at 1:05
Answered: Star Strider on 14 Feb 2026 at 1:25
how to auto run the script after matlab start up,such as 'format hex' in command window. that means after matlab start up, will auto display hex format in comand windows.

Answers (1)

Star Strider
Star Strider on 14 Feb 2026 at 1:25
Put that command in your startup.m file.
See the documentation on startup for details.

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!