Explanation

Code generation does not support:


Suggested Action

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.