iam getting error as Unexpected MATLAB expression.? and please give the code without error ?

clc;
close all;
clear all;
rgbImageInfo = imfinfo('C:\Program Files\MATLAB\R2013a\toolbox\images\imdemos\nature1.jpg')
fprintf('The Width=%d\nThe Height=%d\n',...
rgbImageInfo.Width, rgbImageInfo.Height);
Filename: 'C:\Program Files\MATLAB\R2013a\toolbox\images\imdemos\nature1.jpg'
FileModDate: '29-06-2015 2:33:35'
FileSize: 9730
Format: 'jpg'
FormatVersion: ''
Width: 210
Height: 162
BitDepth: 8
ColorType: 'truecolor'
FormatSignature: ''
NumberOfSamples: 3
CodingMethod: 'Huffman'
CodingProcess: 'Sequential'
Comment: {}
DigitalCamera: [1x1 struct]
The Width=210
The Height=162

2 个评论

Please edit your question and give us the entire error message. That means all of the red text.
You appear to be showing a successful run, not an error.

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Large Files and Big Data 的更多信息

产品

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by