Borrar filtros
Borrar filtros

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

5 visualizaciones (últimos 30 días)
A.B.
A.B. el 14 de Jul. de 2023
Editada: Fangjun Jiang el 14 de Jul. de 2023
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?

Respuestas (2)

Voss
Voss el 14 de Jul. de 2023

Fangjun Jiang
Fangjun Jiang el 14 de Jul. de 2023
Editada: Fangjun Jiang el 14 de Jul. de 2023
no big deal. Put that in a startup.m file
Also, set it in MATLAB Preference, Command Window, Text Display

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by