Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Access to object or struct data

조회 수: 1 (최근 30일)
Doheon Lee
Doheon Lee 2015년 5월 15일
마감: MATLAB Answer Bot 2021년 8월 20일
I have a structure data as below, i.e., result.data
result.data
ans =
d2: [1 x 1 frame]
d3: [1 x 1 signal]
I can plot result.data.d2 using the below function,
plot(result.data.d2)
But when I type in result.data.d2 in the command window, it printed the output as below and I cannot see data values. The same problem occurs for result.data.d3
User Class Frame
start 0.2 ms
channel 50
duration 200 ms
Would please help to obtain value of result.data.d2 and result.data.d3? Thank you in advance.
  댓글 수: 1
Walter Roberson
Walter Roberson 2015년 5월 15일
Were these objects built by one of the toolkits, perhaps the DAQ toolkit?

답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by