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