>> 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 日

1 投票

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.

カテゴリ

ヘルプ センター および File ExchangeEntering Commands についてさらに検索

製品

リリース

R2008a

タグ

タグが未入力です。

質問済み:

2020 年 4 月 5 日

回答済み:

2020 年 4 月 5 日

Community Treasure Hunt

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

Start Hunting!

Translated by