No BSD License  

Highlights from
CoCoMac

image thumbnail
from CoCoMac by James Allen
Download CoCoMac.org cortical connectivity data, model it as a network, and simulate epileptic sprea

fc_allow_animation(panel_animate, activLabels)
function [] = fc_allow_animation(panel_animate, activLabels)

% Function to make animation panel visible to user. Is
% invoked after callback to the 'run simulation' button. Its purpose is to
% check that the simulation (spread.m) completed successfully before allowing animation - it may not,
% e.g. if there were no start nodes selected. This is checked by testing
% activLabels for empty.

if isempty(activLabels)
    % There is no 'activ' matrix to animate, so return.
    return;
end

set(panel_animate, 'visible', 'on');

return;

Contact us at files@mathworks.com