Advertisement
Guest User

Untitled

a guest
Jun 28th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. if (~(isstrprop(blockVal,'digit'))) || (str2num(blockVal) < 0) || ...
  2. (str2num(blockVal) > 9) || (isinteger(str2num(blockVal)))
  3. % Error about one digit numerics only
  4. errordlg('Block entries must be limited to the integers 0 to 9. 0 denotes any number possible.'...
  5. ,'One Digit Numeric Integers Only');
  6. else
  7. puzzle(1,1).block = blockVal;
  8. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement