clear all

DS.class='MemDS';                    % data are copied into C
DS.Data =[1 2 3 4 5 6];

% Faster Alternative in Matlab - data are read directly from Matlab
DS2.class='mxArrayDS';
Data =[1 2 3 4 5 6];
DS2.varname = 'Data';

M=simulator(DS);
%M=simulator(DS2);

M.ch0
%M.DS_dt_Data