フィルターのクリア

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 Center および File ExchangeStructures についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by