Home > functions > internal > dsAll2mdd.m

dsAll2mdd

PURPOSE ^

SYNOPSIS ^

function [xp,is_image] = dsAll2mdd(data,varargin)

DESCRIPTION ^

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function [xp,is_image] = dsAll2mdd(data,varargin)
0002 
0003 if ~isfield(data,'plot_files')      % Standard DynaSim data structure
0004 
0005     % Check inputs
0006     data=dsCheckData(data, varargin{:});
0007       % note: calling dsCheckData() at beginning enables analysis/plotting functions to
0008       % accept data matrix [time x cells] in addition to DynaSim data structure.
0009 
0010 
0011     % Convert input data to MDD
0012     xp = ds2mdd(data);
0013     is_image = 0;
0014 else                            % Structure of links to plots
0015 
0016     % Convert input data to MDD
0017     data_img=data;
0018     xp = dsImg2mdd(data_img);
0019     
0020     is_image = 1;
0021 
0022 end

Generated on Tue 12-Dec-2017 11:32:10 by m2html © 2005