在MatLab R2010B中,如何引用函数调用返回到imageinfo的对象中的字段?我是
代码示例:
imagePropObj = imageinfo('imageFile.tif');
这会弹出一个窗口,显示图像文件的各种属性。然后我尝试使用
访问Width属性imagePropObj.Width
但我收到了错误
??? Attempt to reference field of non-structure array.
我不确定我做错了什么。请帮忙。感谢。