Code generation does not support:
The command form of load
The functional form of load
without
assignment to a structure or array
Assignment of the output of load
to a
subscripted variable
Replace instances of the command form of load
and
instances of the functional form of load
where you have not
assigned the output to a non-subscripted structure or array. For example,
replaces instances such as:
load myFile.mat
load('myFile.mat')
S(i) = load('myFile.mat')
with S = load('myFile.mat')
, where S
is
a structure or array without any subscripting.