@@ -89,10 +89,15 @@ function pushbutton_OK_Callback(hObject, eventdata, handles)
89
89
% hObject handle to pushbutton_OK (see GCBO)
90
90
% eventdata reserved - to be defined in a future version of MATLAB
91
91
% handles structure with handles and user data (see GUIDATA)
92
- assignin(' base' , ' dataDirectory' , [handles .edit_DataDirectory .String filesep ]);
93
- assignin(' base' , ' outputDirectory' , [handles .edit_OutputDirectory .String filesep ]);
94
- assignin(' base' , ' jobManagerName' , handles.listbox1.String{handles .listbox1 .Value });
95
- assignin(' base' , ' chosenCodebase' , handles .uibuttongroup2 .SelectedObject .String );
92
+
93
+ dD = get(handles .edit_DataDirectory , ' String' );
94
+ oD = get(handles .edit_OutputDirectory , ' String' );
95
+ jMN = get(handles .listbox1 , ' String' );
96
+ cC = get(handles .uibuttongroup2 .SelectedObject , ' String' );
97
+ assignin(' base' , ' dataDirectory' , [dD filesep ]);
98
+ assignin(' base' , ' outputDirectory' , [oD filesep ]);
99
+ assignin(' base' , ' jobManagerName' , jMN{get(handles .listbox1 , ' Value' )});
100
+ assignin(' base' , ' chosenCodebase' , cC );
96
101
delete(handles .output );
97
102
98
103
% --- Executes on button press in pushbutton_DataDirectory.
0 commit comments