i have a problme

1 次查看(过去 30 天)
SAID LAF
SAID LAF 2020-4-5
>> i=imread("lina.jpg");
??? i=imread("lina.jpg");
|
Error: The input character is not valid in MATLAB
statements or expressions.
??? Error: File: T1.m Line: 1 Column: 10
The input character is not valid in MATLAB statements or
expressions.
can you help me ???

回答(1 个)

John D'Errico
John D'Errico 2020-4-5
What version of MATLAB are you using? This may be important, since strings in MATLAB only recently allowed double quotes, and they create a string object now.
You probably need to do this, assuming you are using an older release.
i=imread('lina.jpg');
The doubly quoted string you tried to create would have failed in an older release.

类别

Help CenterFile Exchange 中查找有关 String 的更多信息

标签

尚未输入任何标签。

产品


版本

R2008a

Community Treasure Hunt

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

Start Hunting!

Translated by