ユーザーが値を入力し、プッシュボタンを押すと外部関数が実行され、エラー メッセージが表示される GUI を作成しています。GUI コーディングで変数を正常に挿入できません。変数を挿入する場所について混乱しています。ハンドルを試しましたが、残念ながら機能しません。
% --- Executes just before Stallfunction is made visible.
function Stallfunction_OpeningFcn(hObject, ~, handles, varargin)
% This function has no output args, see OutputFcn.
% hObject handle to figure
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% varargin command line arguments to Stallfunction (see VARARGIN)
% Choose default command line output for Stallfunction
handles.user_entry = user_entry;
% Update handles structure
guidata(hObject, handles);
% UIWAIT makes Stallfunction wait for user response (see UIRESUME)
% uiwait(handles.figure1);
上記のコードに変数を挿入しましたが、'user_entry' は正しいですか?