Code covered by the BSD License  

Highlights from
Blackjack

from Blackjack by Michael Iori
Fully functional blackjack simulator

BJActionSelect(Action)
%This function is called when the Hit, Stand and Double boxes are pressed
function BJActionSelect(Action)
    global BJPLAYER
    BJPLAYER.hitorstand = Action; %Save which button was pressed
    uiresume(gcf);  %Un-pause
end

Contact us at files@mathworks.com