First time here? Check out the Help page!
1 | initial version |
The mlepMatlab script utilizes the following code to define the variable name using the format EP_ZoneName_VariableNameUsedByEnergyPlus.
Instead of using
[{'Time'}; ep.outputSigName]
as shown in the code below, I replaced it with [{'Time'}; {'VariableName1'};{'VariableName2'};...;{'VariableNameN'}]
Original code :
logTable = table('Size',[0, 1 + ep.nOut],...
'VariableTypes',repmat({'double'},1,1 + ep.nOut),...
'VariableNames',[{'Time'}; ep.outputSigName]);
Modified code :
logTable = table('Size',[0, 1 + ep.nOut],...
'VariableTypes',repmat({'double'},1,1 + ep.nOut),...
'VariableNames',[{'Time'}; {'VariableName1'};{'VariableName2'};...;{'VariableNameN'}];