-------------------> Session (re)starting: 16-Apr-2008 09:33:34
guide
duh
??? Error using ==> input
Not enough input arguments.
Error in ==> duh>first_Callback at 88
if (isempty(input))
88 if (isempty(input))
??? Error using ==> input
Not enough input arguments.
Error in ==> duh>second_Callback at 119
if (isempty(input))
119 if (isempty(input))
??? Reference to non-existent field 'answer_staticText'.
Error in ==> duh>multiply_Callback at 150
set(handles.answer_staticText,'String',c);
150 set(handles.answer_staticText,'String',c);
help input
INPUT Prompt for user input.
R = INPUT('How many apples') gives the user the prompt in the
text string and then waits for input from the keyboard.
The input can be any MATLAB expression, which is evaluated,
using the variables in the current workspace, and the result
returned in R. If the user presses the return key without
entering anything, INPUT returns an empty matrix.
R = INPUT('What is your name','s') gives the prompt in the text
string and waits for character string input. The typed input
is not evaluated; the characters are simply returned as a
MATLAB string.
The text string for the prompt may contain one or more '\n'.
The '\n' means skip to the beginning of the next line. This
allows the prompt string to span several lines. To output
just a '\' use '\\'.
See also keyboard.
Reference page in Help browser
doc input
whos
Name Size Bytes Class Attributes
c 0x0 0 char
eventdata 0x0 0 double
hObject 1x1 8 double
handles 1x1 1188 struct
product 0x0 0 double
t1 1x1 2 char
t2 1x17 34 char
handles
handles =
figure1: 168
multiply: 14.002
result: 13.002
times: 12.002
equals: 11.002
second: 10.002
first: 9.002
Title: 169
output: 168
get(handles.output)
Alphamap = [ (1 by 64) double array]
BackingStore = on
CloseRequestFcn = closereq
Color = [0.701961 0.701961 0.701961]
Colormap = [ (64 by 3) double array]
CurrentAxes = []
CurrentCharacter = 5
CurrentObject = [14.0018]
CurrentPoint = [-0.166667 -0.0833333]
DockControls = on
DoubleBuffer = on
FileName = /nfs/mneme/home/users/bramley/today/h/duh.fig
FixedColors = [ (3 by 3) double array]
IntegerHandle = off
InvertHardcopy = on
KeyPressFcn =
KeyReleaseFcn =
MenuBar = none
MinColormap = [64]
Name = duh
NextPlot = add
NumberTitle = off
PaperUnits = inches
PaperOrientation = portrait
PaperPosition = [0.25 2.5 8 6]
PaperPositionMode = manual
PaperSize = [8.5 11]
PaperType = usletter
Pointer = arrow
PointerShapeCData = [ (16 by 16) double array]
PointerShapeHotSpot = [1 1]
Position = [93.1667 25.3782 114 36.0833]
Renderer = None
RendererMode = auto
Resize = off
ResizeFcn =
SelectionType = normal
ShareColors = on
ToolBar = auto
Units = characters
WindowButtonDownFcn =
WindowButtonMotionFcn =
WindowButtonUpFcn =
WindowScrollWheelFcn =
WindowStyle = normal
XDisplay = localhost:11.0
XVisual = 0x23 (TrueColor, depth 24, RGB mask 0xff0000 0xff00 0x00ff)
XVisualMode = auto
BeingDeleted = off
ButtonDownFcn =
Children = [ (7 by 1) double array]
Clipping = on
CreateFcn =
DeleteFcn =
BusyAction = queue
HandleVisibility = callback
HitTest = on
Interruptible = on
Parent = [0]
Selected = off
SelectionHighlight = on
Tag = figure1
Type = figure
UIContextMenu = []
UserData = []
Visible = on
get(handles.output, 'Name')
ans =
duh
set(handles.output, 'Name', 'not as dumb as I look')
get(handles.output, 'Name')
ans =
not as dumb as I look
dbquit
ccc
duh
??? Reference to non-existent field 'answer_staticText'.
Error in ==> duh>multiply_Callback at 150
set(handles.answer_staticText,'String',c);
150 set(handles.answer_staticText,'String',c);
get(handles.output)
Alphamap = [ (1 by 64) double array]
BackingStore = on
CloseRequestFcn = closereq
Color = [0.701961 0.701961 0.701961]
Colormap = [ (64 by 3) double array]
CurrentAxes = []
CurrentCharacter = 5
CurrentObject = [14.0018]
CurrentPoint = [-0.166667 -0.0833333]
DockControls = on
DoubleBuffer = on
FileName = /nfs/mneme/home/users/bramley/today/h/duh.fig
FixedColors = [ (3 by 3) double array]
IntegerHandle = off
InvertHardcopy = on
KeyPressFcn =
KeyReleaseFcn =
MenuBar = none
MinColormap = [64]
Name = not as dumb as I look
NextPlot = add
NumberTitle = off
PaperUnits = inches
PaperOrientation = portrait
PaperPosition = [0.25 2.5 8 6]
PaperPositionMode = manual
PaperSize = [8.5 11]
PaperType = usletter
Pointer = arrow
PointerShapeCData = [ (16 by 16) double array]
PointerShapeHotSpot = [1 1]
Position = [93.1667 25.3782 114 36.0833]
Renderer = None
RendererMode = auto
Resize = off
ResizeFcn =
SelectionType = normal
ShareColors = on
ToolBar = auto
Units = characters
WindowButtonDownFcn =
WindowButtonMotionFcn =
WindowButtonUpFcn =
WindowScrollWheelFcn =
WindowStyle = normal
XDisplay = localhost:11.0
XVisual = 0x23 (TrueColor, depth 24, RGB mask 0xff0000 0xff00 0x00ff)
XVisualMode = auto
BeingDeleted = off
ButtonDownFcn =
Children = [ (7 by 1) double array]
Clipping = on
CreateFcn =
DeleteFcn =
BusyAction = queue
HandleVisibility = callback
HitTest = on
Interruptible = on
Parent = [0]
Selected = off
SelectionHighlight = on
Tag = figure1
Type = figure
UIContextMenu = []
UserData = []
Visible = on
dbquit all
ccc
duh
??? Reference to non-existent field 'product_staticText'.
Error in ==> duh>multiply_Callback at 150
set(handles.product_staticText,'String',c);
150 set(handles.product_staticText,'String',c);
dbquit all
duh
??? Reference to non-existent field 'product'.
Error in ==> duh>multiply_Callback at 150
set(handles.product,'String',c);
150 set(handles.product,'String',c);
dbquit all
duh
??? Reference to non-existent field 'product'.
Error in ==> duh>multiply_Callback at 150
set(handles.product,'Name',c);
150 set(handles.product,'Name',c);
get(handles.output)
Alphamap = [ (1 by 64) double array]
BackingStore = on
CloseRequestFcn = closereq
Color = [0.701961 0.701961 0.701961]
Colormap = [ (64 by 3) double array]
CurrentAxes = []
CurrentCharacter = 5
CurrentObject = [14.0018]
CurrentPoint = [-0.166667 -0.0833333]
DockControls = on
DoubleBuffer = on
FileName = /nfs/mneme/home/users/bramley/today/h/duh.fig
FixedColors = [ (3 by 3) double array]
IntegerHandle = off
InvertHardcopy = on
KeyPressFcn =
KeyReleaseFcn =
MenuBar = none
MinColormap = [64]
Name = not as dumb as I look
NextPlot = add
NumberTitle = off
PaperUnits = inches
PaperOrientation = portrait
PaperPosition = [0.25 2.5 8 6]
PaperPositionMode = manual
PaperSize = [8.5 11]
PaperType = usletter
Pointer = arrow
PointerShapeCData = [ (16 by 16) double array]
PointerShapeHotSpot = [1 1]
Position = [93.1667 25.3782 114 36.0833]
Renderer = None
RendererMode = auto
Resize = off
ResizeFcn =
SelectionType = normal
ShareColors = on
ToolBar = auto
Units = characters
WindowButtonDownFcn =
WindowButtonMotionFcn =
WindowButtonUpFcn =
WindowScrollWheelFcn =
WindowStyle = normal
XDisplay = localhost:11.0
XVisual = 0x23 (TrueColor, depth 24, RGB mask 0xff0000 0xff00 0x00ff)
XVisualMode = auto
BeingDeleted = off
ButtonDownFcn =
Children = [ (7 by 1) double array]
Clipping = on
CreateFcn =
DeleteFcn =
BusyAction = queue
HandleVisibility = callback
HitTest = on
Interruptible = on
Parent = [0]
Selected = off
SelectionHighlight = on
Tag = figure1
Type = figure
UIContextMenu = []
UserData = []
Visible = on
3*pi
ans =
9.4248
exit