spaceconcordia / rocketry-performance

2 stars 1 forks source link

Can't read incrementally from mat file in 'From File' block #4

Closed SpaceShawn closed 8 years ago

SpaceShawn commented 9 years ago

When using the From File block in Simulink, the values are not incrementally read as expected.

Simulink is incrementally reading through the file, however instead of reading one value at a time, it is reading all the values each time.

For example, for a mat-file containing 122 entries, all 122 entries are read 122 times.

mat-file versions were confirmed to be version 7.3 as required to support incremental reading as per the documentation: http://www.mathworks.com/help/simulink/slref/fromfile.html

To reproduce, run on the matlab command-line with the project in your path:

thrust_curve_test_ml