I have been trying to fix this code for 3 hours and I can't could someone please help me fix it?
fig = uifigure;
ax = uiaxes('Parent',fig,...
'Position', [104, 123, 300, 201]);
% Create a button
btn = uibutton(fig,'push',...
'Position',[420, 218, 100, 22],...
'ButtonPushedFcn', @(btn,event) diceButton(btn,ax));
% Create the function for the ButtonPushedFcn callback