|
From: | Pierrick Hanlet |
Subject: | newbie and cs-list |
Date: | Thu, 8 Feb 2018 12:26:12 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 |
Hi, I have a matlab data file that was generated by a colleague. The structure is as follows: >> ConvertedData ConvertedData = scalar structure containing the fields: FileName = HTSDAQ_180208_103412.tdms FileFolder = H:\04-Experiments\CTR_commisioning SegTDMSVerNum = 4713 4713 NumOfSegments = 2 Data =""> scalar structure containing the fields: Root = scalar structure containing the fields: Name: 1x4 sq_string Property: 1x2 struct MeasuredData = 1x16 struct array containing the fields: Name Data Total_Samples Property I can see the names clearly: >> ConvertedData.Data.MeasuredData.Name ans = Root ans = AI Channels ans = AI Channels/U1_L1 ans = AI Channels/U1_U5 ans = AI Channels/U5_L5 ans = AI Channels/L5_L1 ans = AI Channels/U01_U1 ans = AI Channels/U02_U1 ans = AI Channels/L1_L03 ans = AI Channels/L1_L01 ans = AI Channels/RVT11 ans = AI Channels/HP01 ans = AI Channels/HP02 ans = AI Channels/HP05 ans = AI Channels/PSUV ans = AI Channels/PSUI What I really want is to look at the data in "AI Channels/RVT11". However, I don't know how to index ConvertedData.Data.MeasuredData.Data to select only the sample of interest. Every time I attempt to do so yields the error message: >> ConvertedData.Data.MeasuredData.Data(9) error: a cs-list cannot be further indexed My matlab colleagues cannot help me. Thank you, Pierrick --
![]() |
[Prev in Thread] | Current Thread | [Next in Thread] |