How to fix table display/alignment in command window
23 次查看(过去 30 天)
显示 更早的评论
MATLAB seems to format printing of tables poorly on macs.
Here's a simple example using 2023b on my M1 mac:
dt = datetime('now');
dt2 = datetime('now');
test = "test";
t = table(dt,dt2,test)
The result looks like this. Note the poor column alignment. Also if you try and select the column names the text bolding disappears and the letters shift slightly, especially ones further to the right (hard to see in this example, but noticeable with longer tables).
In contrast this is what it looks like on Windows, nice and aligned!
Is there a setting to toggle to fix this? If not any chance this can get fixed before the official 2024a release (haven't tried the prerelease). I'll note I upgraded to 2023b from 2022a? or some older version to see if that fixed the problem (above example is from 2023b so the newer version did not fix the problem).
2 个评论
Steven Lord
2024-3-20
What font are you using for Command Window? Follow the instructions on this documentation page to determine which font you're using.
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Environment and Settings 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!