Changeset 1057 for applications/bdmtoolbox/tutorial
- Timestamp:
- 06/07/10 22:01:06 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
applications/bdmtoolbox/tutorial/userguide/memds_example.m
r934 r1057 1 1 clear all 2 2 3 DS.class='MemDS'; 3 DS.class='MemDS'; % data are copied into C 4 4 DS.Data =[1 2 3 4 5 6]; 5 5 6 % Faster Alternative in Matlab - data are read directly from Matlab 7 DS2.class='mxArrayDS'; 8 Data =[1 2 3 4 5 6]; 9 DS2.varname = 'Data'; 10 6 11 M=simulator(DS); 12 %M=simulator(DS2); 7 13 8 14 M.ch0 15 %M.DS_dt_Data