The maximum texture size of your graphics card can be queried in MATLAB by using the opengl function, like so:
>> d = opengl('data')
>> d.MaxTextureSize
ans =
16384
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!