[89ea83]: blockproc / blockplay.m Maximize Restore History

Download this file

blockplay.m    14 lines (10 with data), 233 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
function blockplay(f)
%BLOCKPLAY Plays block
%
%
%
source = block_interface('getSource');
if strcmp(source,'rec')
error('%s: Blocks cannot be played in the rec only mode.',upper(mfilename));
end
block_interface('setToPlay',f);