mes -...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % I will comment this later % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% function mes(ln1,ln2,ln3); global control_fig control_axes mess main_fig main_axes; figure(control_fig); axes(control_axes); if strcmp(ln1,'initialize') mess(2)=uicontrol('Style','Text','Position',[.05,.07,.9,.03],. .. 'String','Welcome to Potential Flow Solver',. .. 'Backg','k','Fore','w','Units','Normalized'); mess(1)=uicontrol('Style','Text','Position',[.05,.11,.9,.03],. .. 'String','',. .. 'Backg','k','Fore','w','Units','Normalized');
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: mess(3)=uicontrol('Style','Text','Position',[.05,.03,.9,.03],. .. 'String','',. .. 'Backg','k','Fore','w','Units','Normalized'); end if ~strcmp(ln1,'initialize') if (nargin==1) set(mess,'string',''); set(mess(2),'string',ln1); end if (nargin==2) set(mess,'string',''); set(mess(1),'string',ln1); set(mess(2),'string',ln2); end if (nargin==3) set(mess,'string',''); set(mess(1),'string',ln1); set(mess(2),'string',ln2); set(mess(3),'string',ln3); end end drawnow; figure(main_fig); axes(main_axes);...
View Full Document

This document was uploaded on 01/22/2012.

Ask a homework question - tutors are online