Code covered by the BSD License  

Highlights from
BattleShip (R)

image thumbnail

BattleShip (R)

by

 

23 Oct 2008 (Updated )

Learn and have fun with an old classic.

bsclose
function bsclose
%  	Author: Isaac Noh
%   Copyright 2008-2009 The MathWorks, Inc.
%   Version: 1.1


u1 = guidata(gcbo);
if ~isempty(u1)
    fclose(u1);
    delete(u1);
    clear u1;
end
clear readPort
delete(gcf);

Contact us