这个函数告诉我无法解析名称"handels.EditField"。我正在使用Matlab App Designer
w = str2double(get(handels.EditField,"string"));
h = str2double(get(handels.EditField2,"string"));
app.m3= imresize(app.m1, [w h]);
cla(app.UIAxes_2);
imshow(app.m3,'Parent',app.UIAxes_2);
我找不到问题在哪里
h = str2num(app.EditField.Value);
w = str2num(app.EditField2.Value);
这是错误,因为图像调整器函数取Int
而不是Double
。