methods
function structOut = loadAVariableImpl(obj,varName)
% Assume loading a variable from a MAT-file.
data = load(obj.FileName,varName);
if isempty(fieldnames(data))
error([varName ' was not found on the file.']);
endif isSimulinkSignalFormat(data.(varName))
structOut.(varName) = ...
data.(varName);
else
error([varName ' is not a Simulink signal format.']);
endendend
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.