This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

라이선스가 부여된 사용자만 번역 문서를 볼 수 있습니다. 번역 문서를 보려면 로그인하십시오.


Cell array of names of timeseries objects in tscollection object


names = gettimeseriesnames(tsc)


names = gettimeseriesnames(tsc) returns names of timeseries objects in a tscollection object tsc. names is a cell array of strings.


  1. Create timeseries objects a and b.

    a = timeseries(rand(1000,1),'name','position');
    b = timeseries(rand(1000,1),'name','response');
  2. Create a tscollection object that includes these two time series.

    tsc = tscollection({a,b});
  3. Get the names of the timeseries objects in tsc.

    names = gettimeseriesnames(tsc)
    names = 
        'position'    'response'

Introduced before R2006a

Was this topic helpful?