how to auto run the script after matlab start up

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)

Put that command in your startup.m file.
See the documentation on startup for details.

Categories

Asked:

博
on 14 Feb 2026 at 1:05

Answered:

on 14 Feb 2026 at 1:25

Community Treasure Hunt

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

Start Hunting!