root/applications/bdmtoolbox/tutorial/userguide/memds_example.m

Revision 1058, 292 bytes (checked in by smidl, 14 years ago)

doc + DS cleanup

  • Property svn:eol-style set to native
Line 
1clear all
2
3DS.class='MemDS';                    % data are copied into C
4DS.Data =[1 2 3 4 5 6];
5
6% Faster Alternative in Matlab - data are read directly from Matlab
7DS2.class='mxArrayDS';
8Data =[1 2 3 4 5 6];
9DS2.varname = 'Data';
10
11M=simulator(DS);
12%M=simulator(DS2);
13
14M.DS_dt_
15%M.DS_dt_Data
Note: See TracBrowser for help on using the browser.