1
在MatLab R2010B中,如何引用函數調用返回的對象中的字段到imageinfo?我的代碼MATLAB中imageinfo返回的對象的屬性
實施例:
imagePropObj = imageinfo('imageFile.tif');
該彈出顯示的圖像文件的各種屬性的窗口。然後,我嘗試訪問使用
imagePropObj.Width
Width屬性,但我得到的錯誤
??? Attempt to reference field of non-structure array.
我不知道我在做什麼錯。請幫忙。謝謝。
非常感謝!我只會說'謝謝',但評論必須至少有15個字符長。 – ericso 2010-11-11 18:45:03