필터 지우기
필터 지우기

variables into a data structure

조회 수: 1 (최근 30일)
Janis
Janis 2014년 8월 21일
답변: Iain 2014년 8월 21일
How can I add all the variables to the data structure?
I have 7 variables (all are the data matrices) and I want them in a single data structure.
There are the variables:
Name Value
Em 125x1 double
Ex 125x1 double
nEm 125
nEx 121
nSample 28
X 28x125x121 double
XBackup 28x125x121 double
I want them all in a data structure called OriginalData .
How can I do that?

채택된 답변

Iain
Iain 2014년 8월 21일
OriginalData.Name = Name;
OriginalData.Em = Em;
OriginalData.Ex = Ex;
etc. etc.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Structures에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by