why doesn't data.(ChannelFirst) work now? I has worked ok for years

2 次查看(过去 30 天)
Enter name of first channel to analyze : F5
Enter name of second channel to analyze : F3
Unrecognized field name "F5".
Error in SpectralRatioST1 (line 162)
veclength = length(data.(ChannelFirst)); % length of input EEG vector
>> ChannelFirst
ChannelFirst =
'F5'
>> Data.(ChannelFirst)
Unable to resolve the name 'Data.F5'.
  2 个评论
Don
Don 2022-5-3
编辑:Jan 2022-5-3
MATLAB Version: 9.12.0.1884302 (R2022a)
MATLAB License Number: xxxxxxxxxxxx
Operating System: Microsoft Windows 10 Pro Version 10.0 (Build 19043)
Java Version: Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
-----------------------------------------------------------------------------------------------------
MATLAB Version 9.12 (R2022a)
Signal Processing Toolbox Version 9.0 (R2022a)
Statistics and Machine Learning Toolbox Version 12.3 (R2022a)
Jan
Jan 2022-5-3
What is the contents of "data"? Why is it one time in lower and the other one in upper case?

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Type Conversion 的更多信息

标签

产品


版本

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by