Comments on: MATLAB: Manipulating the data in a UItable in GUIDE https://blogs.mathworks.com/videos/2013/12/03/matlab-manipulating-the-data-in-a-uitable-in-guide/?s_tid=feedtopost Stuart uses video to share his experiences solving problems with MATLAB day-to-day, interesting new features, plus tips and tricks he has picked up along the way. Tue, 31 Oct 2017 20:40:10 +0000 hourly 1 https://wordpress.org/?v=6.2.2 By: william Taipe https://blogs.mathworks.com/videos/2013/12/03/matlab-manipulating-the-data-in-a-uitable-in-guide/#comment-77145 Tue, 31 Oct 2017 20:40:10 +0000 https://blogs.mathworks.com/videos/?p=1290#comment-77145 Buen aporte

]]>
By: stuartmcgarrity https://blogs.mathworks.com/videos/2013/12/03/matlab-manipulating-the-data-in-a-uitable-in-guide/#comment-76846 Fri, 21 Jul 2017 15:50:50 +0000 https://blogs.mathworks.com/videos/?p=1290#comment-76846 Hi Christian , There should be more of an error message there. Try setting the debugger to stop on error. Look at the full error and examine the variables it is referring to.

]]>
By: Christian Taylor https://blogs.mathworks.com/videos/2013/12/03/matlab-manipulating-the-data-in-a-uitable-in-guide/#comment-76845 Fri, 21 Jul 2017 11:06:30 +0000 https://blogs.mathworks.com/videos/?p=1290#comment-76845 Hello Doug, I have followed the steps in the video nearly exactly, however i am getting the error message:
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)sudoku2(‘pushbutton1_Callback’,hObject,eventdata,guidata(hObject))
Error while evaluating UIControl Callback

Any idea why this might be? Thanks, Christian.

]]>
By: Stuart McGarrity https://blogs.mathworks.com/videos/2013/12/03/matlab-manipulating-the-data-in-a-uitable-in-guide/#comment-51520 Mon, 06 Apr 2015 17:23:57 +0000 https://blogs.mathworks.com/videos/?p=1290#comment-51520 It looks like your uitable’s ‘Data’ property is a cell array. Do you initialize the “Data” property somewhere? I’d set a breakpoint at the error line and take a look at the value of the variable data.

]]>
By: vetero https://blogs.mathworks.com/videos/2013/12/03/matlab-manipulating-the-data-in-a-uitable-in-guide/#comment-51482 Sat, 04 Apr 2015 13:30:18 +0000 https://blogs.mathworks.com/videos/?p=1290#comment-51482 Sorry, I have a problem while I follow your tutorial, the code :
function add_gen_Callback(hObject, eventdata, handles)
% hObject handle to add_gen (see GCBO)
% eventdata reserved – to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
data = get(handles.uitable2,’data’);
data(end+1,:) = 0;
set(handles.uitable2,’data’,data)
And the error display in the command window when run this code :
??? Conversion to cell from double is not possible.

Error in ==> LMP_ver1>add_gen_Callback at 82
data(end+1,:) = 0;

Error in ==> gui_mainfcn at 96
feval(varargin{:});

Error in ==> LMP_ver1 at 42
gui_mainfcn(gui_State, varargin{:});

Error in ==>
@(hObject,eventdata)LMP_ver1(‘add_gen_Callback’,hObject,eventdata,guidata(hObject))

??? Error while evaluating uicontrol Callback
How can I fix it ?
Thank you !!!

]]>
By: Nic Neogh https://blogs.mathworks.com/videos/2013/12/03/matlab-manipulating-the-data-in-a-uitable-in-guide/#comment-51095 Tue, 10 Mar 2015 16:30:57 +0000 https://blogs.mathworks.com/videos/?p=1290#comment-51095 hai, i had create the uitable. after key in data in uitable, i would like to reset the data. i create a pushbutton to reset it, but it doesnt work. how i can reset the data in uitable after i click the reset (pushbutton)?

]]>
By: Darshan Gajara https://blogs.mathworks.com/videos/2013/12/03/matlab-manipulating-the-data-in-a-uitable-in-guide/#comment-47432 Wed, 26 Nov 2014 17:51:23 +0000 https://blogs.mathworks.com/videos/?p=1290#comment-47432 Thanks a ton for all the help Doug.

]]>
By: Doug https://blogs.mathworks.com/videos/2013/12/03/matlab-manipulating-the-data-in-a-uitable-in-guide/#comment-47430 Wed, 26 Nov 2014 17:48:01 +0000 https://blogs.mathworks.com/videos/?p=1290#comment-47430 Please see:
http://www.Mathworks.com/support

Thanks,
Doug

]]>
By: Darshan Gajara https://blogs.mathworks.com/videos/2013/12/03/matlab-manipulating-the-data-in-a-uitable-in-guide/#comment-47429 Wed, 26 Nov 2014 17:45:49 +0000 https://blogs.mathworks.com/videos/?p=1290#comment-47429 Can you please mention the syntax to call it, please?

]]>
By: Doug https://blogs.mathworks.com/videos/2013/12/03/matlab-manipulating-the-data-in-a-uitable-in-guide/#comment-47428 Wed, 26 Nov 2014 17:25:00 +0000 https://blogs.mathworks.com/videos/?p=1290#comment-47428 just call the separrate file in the same way you would any MATLAB function.

]]>