title: How do I make a uitable in GUIDE of a specific format?
body: <p>I need to create a MATLAB GUI uitable of the following format:</p>
  
  <p>Environment (Column name)
  ( Segm ,Arc,Circuit) (pop up menu options)</p>
  
  <p>Location (column name)
  (City,country,Highway) (pop up menu options)                            </p>
  
  <p>Environment is a column name and <code>Segm,Arc,Circuit</code> should come as popup menu options; similarly for the Location column name 'City,Country and Highway should come as pop up options)
  And also I need to create a checkbox in the third column.</p>
  
  <p>I was creating the code for it but unfortunately it does not form the format wanted above:</p>
  
  <pre><code>type_environment ={'Segm' 'Arc' 'Circuit' 'Intersection' 'Round' 'Spline'};
  type_Location ={'City' 'Country' 'Highway'};
  columnname ={'Environment' , 'Location'};
  tabledata =[type_environment type_Location];
  columnformat = {'logical', 'logical'};
  columneditable =  [false true]; 
  handles.Load_data=uitable('Parent',figure,'Units','normalized','Position',[0.5 0.438 0.4913 0.3],'ColumnWidth','auto','Data', tabledata,'ColumnName', columnname,'ColumnFormat', columnformat,'ColumnEditable', columneditable,'RowName',[] ,'BackgroundColor',[.7 .9 .8],'ForegroundColor',[0 0 0]);
  </code></pre>