When I try to test the GUI I get an error like the one below. I am wondering what I am getting wrong
Dot indexing is not supported for variables of this type.
Error in main>pushbutton1_Callback (line 131)
str1=get(handles.edit1, ‘string’);
Error in gui_mainfcn (line 95)
feval(varargin{:});
Error in main (line 42)
gui_mainfcn(gui_State, varargin{:});
Error in matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)main(‘pushbutton1_Callback’,hObject,eventdata,guidata(hObject))
Error while evaluating UIControl Callback.