Code covered by the BSD License  

Highlights from
Blackjack

from Blackjack by Michael Iori
Fully functional blackjack simulator

HandsLeft(handles)
function HandsLeft(handles)
%function for updating the value of Bankroll.HandsLeft when the
%HandsLeftBox is modified

global BANKROLL;
BANKROLL.HandsLeft = str2double(get(handles.HandsLeftBox,'string'));

Contact us at files@mathworks.com