Listdlg outputs numbers, how to get cell array back from user input

Hi! I have a project for school and here's one of the function files:
function [course_comp,course_reqd]=DB_A_Courses(daytonabeach)
%listdlg of classes for the one major offered
course_list={'COM 122','COM 219 or 221',...
'CS 120','HU 140','MA 111','PSY 101','AMS 115','AMS 116','AMS 117',...
'AMS 118','AMS 261','AMS 262','AMS 263','AMS 264','AMS 271',...
'AMS 272','AMS 273','AMS 274','AMS 365','AMS 366','AMS 375','AMS 376'};
course_comp=listdlg('PromptString',...
'Select each class completed. When finished, press "Ok."',...
'SelectionMode','Multiple','ListString',course_list,'Name',...
'Aviation Maintenance Science');
%course_reqd=
**My question is if course_list=complete listing of classes and course_comp=classes user has completed, how can I get the courses the user has not completed yet and save it in a cell array of strings and then send it in nice format to a word or excel document?
Thanks for any help!

Categories

Asked:

PJ
on 3 Dec 2011

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!