フィルターのクリア

Warning: Single line Edit Controls can not have multi-line text

5 ビュー (過去 30 日間)
bozheng
bozheng 2023 年 7 月 13 日
編集済み: bozheng 2023 年 7 月 13 日
I Want to craeat GUI which can input my picture.jpg and 4 parameters
the following is my coding (puttom callback)
imgage = imread('SCM2 Data.jpg');
num1 = str2double(get(handles.edit1, 'String'));
num2 = str2double(get(handles.edit2, 'String'));
num3 = str2double(get(handles.edit3, 'String'));
num4 = str2double(get(handles.edit4, 'String'));
res= ((num1 ./ num2 - 1) ./ (num3 ./ num4 - 1) ./ (num3 ./ imgage - 1) + 1) .* num2;
set(handles.edit5, 'string',num2str(res))
what i should do or edit my process , by the way if i dont put image it can runs go well
thanks for Ur help and read

回答 (1 件)

Jan
Jan 2023 年 7 月 13 日
res is a numerical array. You cannot insert it as string in handles.edit5. Display an image in an axes as image object.
  1 件のコメント
bozheng
bozheng 2023 年 7 月 13 日
編集済み: bozheng 2023 年 7 月 13 日
can you tell me what I should do,please but my picture has data information

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeImages についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by