Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: How to input a large data file in Simulink?
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
fl

Posts: 90
Registered: 10/8/05
How to input a large data file in Simulink?
Posted: Mar 19, 2013 2:39 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi,
I have a large quantity of sampling data which is about 500 MB. The data format is shown as below. I would use these data in Simulink. Each time step will read one row of data. I would like to know what block/function is a best way to read one row for each time step.

The concerns are as following:
1. The first 35 rows (This number is determined, no change for each file) should be bypassed (neglected);
2. The input data file extension is .csv

3. textscan seems useful for large input data file, but I have no idea about how to use it in Simulink.

Thanks,


.........
Serial No,tw52270524
AnalogTriggerCondixxxn,Aboxxxxxxxxvel
AnalogTriggerSource,ExxxxxxxxxxxxxPin
BurstModeEnabled,True
DelayTriggerCount,0
DigitalTrxxxxxxxxarity,PositiveEdge
ExternalReferencexxxxxxxxx,10000
SamplingRate,1000
Signalxxxxxxxxxxxx,None
SingleShotSampleSize,500
Timebase,Internal
TriggerHighThreshold,1.1
TriggerLowThreshold,0
TriggerPosition,Post
TriggerSource,Software
Time Per Point,0.001
XLabel,Time (s)
YLabel,V

Mode,Continuous
Channel,1,2
Channel Name,Channel 1,Channel 2
Measurement Unit,V,V
SignalType,RSE,RSE
Polarity,Bipolar,Bipolar
Range,10,10
Averaging,Disable,Disable

0,-0.00701904296875,0.2716064453125
1,-0.00579833984375,0.17578125
2,-0.0054931640625,0.11383056640625
3,-0.0054931640625,0.07354736328125
4,-0.00518798828125,0.047607421875




Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.