Cody

Solution 2085908

Submitted on 10 Jan 2020 by Asif Newaz
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
assert(isequal(howmonitors(),size(get(0,'MonitorPosition'),1)))

y = struct with fields: CurrentFigure: [0×0 GraphicsPlaceholder] Units: 'pixels' ScreenDepth: 24 PointerLocation: [801 600] CallbackObject: [0×0 GraphicsPlaceholder] FixedWidthFontName: 'Courier New' ShowHiddenHandles: 'off' ScreenPixelsPerInch: 100 MonitorPositions: [1 1 1600 1200] ScreenSize: [1 1 1600 1200] Children: [0×0 GraphicsPlaceholder] Parent: [0×0 GraphicsPlaceholder] HandleVisibility: 'on' Type: 'root' Tag: '' UserData: [] z = 1 1 1600 1200 c = 1