root/applications/bdmtoolbox/tutorial/userguide/memds_example.m
@
1378
| Revision 1058, 292 bytes (checked in by smidl, 15 years ago) | |
|---|---|
|
|
| Line | |
|---|---|
| 1 | clear all |
| 2 | |
| 3 | DS.class='MemDS'; % data are copied into C |
| 4 | DS.Data =[1 2 3 4 5 6]; |
| 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 | |
| 11 | M=simulator(DS); |
| 12 | %M=simulator(DS2); |
| 13 | |
| 14 | M.DS_dt_ |
| 15 | %M.DS_dt_Data |
Note: See TracBrowser
for help on using the browser.
