Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
为了找到像素宽度,我该怎么做matlab?
matlab
编辑我需要例如mm的宽度
谢谢。
尝试使用ScreenPixelsPerInch根对象的属性。
ScreenPixelsPerInch
pixelsPerInch = get(0, 'ScreenPixelsPerInch'); mmPerInch = 25.4; mmPerPixel = mmPerInch / pixelsPerInch;