How to set input value from GUI into global variable
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I am trying to create a configuration panel containing some configurable parameters. The configuration value shall be used in other Matlab functions. But,when I enter the variable name ("Value")to the command window, Matlab notifies the variable is not defined.
function edit1_Callback(hObject, eventdata, handles)
Value = get(handles.edit1,'String');
Value = str2double(Value);
Could you please give me your advise? Many thanks

%
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Call C++ from MATLAB finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!