classdef RunMode

    enumeration
        % MINIMAL Run only the necessary blocks that do not have current
        % results. When RunMode is 'Minimal', the pipeline runs only the blocks
        % for which one of the following statements is true: 
        %
        %   - The block has not been run before
        %   - The block has no saved results in the results directory
        %   - The block object has been modified since the last time it
        %     was run.
        %   - Any input data to the block has changed since the last
        %     run, including new runtime inputs.
        %   - A block upstream of the block has been run more recently
        %     than the last time the block was run.
        Minimal

        % FULL Run all selected blocks even if they have already completed
        % and their inputs and properties have not been modified since the
        % last run. By default, this run mode runs all blocks in a given
        % pipeline if no blocks are selected.
        Full
    end
end
% Copyright 2020-2022 The MathWorks, Inc.

