MATLAB Answers

Load the fields of a structure

2 views (last 30 days)
Sunu
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.

Answers (0)

Tags