i have a problme

1 view (last 30 days)
SAID LAF
SAID LAF on 5 Apr 2020
Answered: John D'Errico on 5 Apr 2020
>> 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 ???

Answers (1)

John D'Errico
John D'Errico on 5 Apr 2020
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.

Tags

No tags entered yet.

Products


Release

R2008a

Community Treasure Hunt

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

Start Hunting!