MATLAB Answers

Sunu
0

Load the fields of a structure

Asked by Sunu
on 22 Mar 2013
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 Comments

Sign in to comment.

Tags

0 Answers