MATLAB: How to scale the profiler viewer window size correctly

MATLABprofilescalingviewer

I have a 4k display and am running MATLAB R2018b on Windows 10.While the main Matlab window is scaled correctly to adjust the DPI, the profiler viewer window is not.
Is there a workaround to fix this and will it be fixed in a future release?

Best Answer

If you go to Preferences->Fonts->Custom you will see an option for Profiler you can adjust the font settings.
Note: the profile viewer display is updated in MATLAB 2020a where there is no need to change the font-size manually.