Desktop icons shrinking on a mac
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I am using Psytoolbox on Matlab 2019a. When I set it up such that my mac laptop is the main display and the experiment appears on my second monitor, the icons on the desktop on the laptop become very small. The only way to restore the icon size it to shut down Matlab and restart the computer. Any solutions to keep this from happening?
I've seen some posts for Windows machine suggesting to "change high DPI settings,'" but it's not clear how to do that on a mac.
0 comentarios
Respuestas (1)
Walter Roberson
el 15 de Dic. de 2022
The official documentation is at https://www.mathworks.com/help/matlab/creating_guis/dpi-aware-behavior-in-matlab.html
My suspicion is that when you set the experiment to appear on the second display, that it is looking and seeing that the second display does not have Retina density, and so decides to stop effectively magnifying objects on the laptop display. An object that is (say) sized as 144 pixels would normally display on a Retina display as 144 pixels / (72 nominal pixels per inch) = 2 inches physical. But if somehow that scaling got turned off then you might start to display as 144 physical pixels. Your Mac Laptop is probably roughly 226 pixels per inch ( exact value depends on model and year see https://en.wikipedia.org/wiki/Retina_display ), so the object would start displaying as roughly 144/226 = 0.64 inches.
I do not know how to change or turn off this behaviour. I notice in the description https://www.mathworks.com/help/matlab/ref/matlab.ui.root-properties.html#buc8_0n-MonitorPositions that if you unplug or plug in new monitors or they otherwise change sizes, that you need to restart MATLAB to update.
I also see in https://www.mathworks.com/matlabcentral/answers/1767375-error-in-multi-screen that Psychtoolbox warns about multi-display. In the particular messages in that Question, which was for Windows, the messages say that you will get strange results if the second monitors are not the same resolution as the primary monitor. The messages there say you should
help RetinaDisplay
for more information.
0 comentarios
Ver también
Categorías
Más información sobre Timing and presenting 2D and 3D stimuli en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!