Code covered by the BSD License  

Highlights from
MLP

image thumbnail
from MLP by Eric Ludlam
Presentation editor/viewer

snake_change
function snake_change
% Have the rubik snake go through one iteration in a presentation.
  
  h = getappdata(gcf,'mysnake');
  
  shapes = rubiksnake('shapes');
  
  ns=shapes{ uint8(rand(1,1)*length(shapes)) };
  
  rubiksnake(h,ns,'once');

Contact us at files@mathworks.com