i have a problme

1 回表示 (過去 30 日間)
SAID LAF
SAID LAF 2020 年 4 月 5 日
回答済み: John D'Errico 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 Center および File ExchangeString についてさらに検索

タグ

タグが未入力です。

製品


リリース

R2008a

Community Treasure Hunt

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

Start Hunting!

Translated by