Load the fields of a structure

4 次查看(过去 30 天)
Sunu
Sunu 2013-3-22
I have a structure A.params.data
ans =
r: [1x1 Simulink.Parameter]
s: [1x1 Simulink.Parameter]
I want to load the r and s to the workspace. Or any fields under A.params.data. I tried load('A.mat','data'), but Variable data not found.

回答(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