15.11.2014 Views

Chapter 4: Programming in Matlab - College of the Redwoods

Chapter 4: Programming in Matlab - College of the Redwoods

Chapter 4: Programming in Matlab - College of the Redwoods

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Section 4.6 Nested Functions <strong>in</strong> <strong>Matlab</strong> 417<br />

function L<strong>in</strong>eWidthEditbox_callback(hObject,eventdata)<br />

l<strong>in</strong>eWidth=str2double(get(hObject,’Str<strong>in</strong>g’));<br />

if (l<strong>in</strong>eWidth>=1) && (l<strong>in</strong>eWidth

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!