Is there a way to set the default behavior for `format` statement?
6 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
回答(2 个)
Fangjun Jiang
2023-7-14
编辑:Fangjun Jiang
2023-7-14
no big deal. Put that in a startup.m file
Also, set it in MATLAB Preference, Command Window, Text Display
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 File Operations 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!