Is there a way to set the default behavior for `format` statement?

I always prefer to use format long; format compact; upon starting a matlab session. But I am tired of typic this with every matlab session opening. I asked the MATLAB support a few years ago to add a feature to make a single statement format long compact possible. But it has apparently not been taken serisouly and not implemented as of 2023. Here is a a second request for help from the community instead. Is there a way to set format long; format compact; as the default behavior upon starting a matlab session?

Categories

Products

Tags

Asked:

on 14 Jul 2023

Edited:

on 14 Jul 2023

Community Treasure Hunt

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

Start Hunting!