return Status.CANCEL_STATUS;
}
String matlabFuncScriptName = matlabFunction.name + ".m";
Path matlabFuncScriptPath = Paths.get(dirStr, matlabFuncScriptName);
writeToFile(matlabFuncScriptPath, matlabFunction.toString());
<BUG>ModelInfo info = getModelInfo(ct);
if (info == null) {
return Status.CANCEL_STATUS;
}</BUG>
SLDVInvocationScriptCreator sldvInvokeScript = new SLDVInvocationScriptCreator(info.originalModelName,

return Status.CANCEL_STATUS;
}
String dirStr = info.outputDirPath;
if (dirStr == null || dirStr.isEmpty()) {
return Status.CANCEL_STATUS;
}
String matlabFuncScriptName = matlabFunction.name + ".m";
Path matlabFuncScriptPath = Paths.get(dirStr, matlabFuncScriptName);
writeToFile(matlabFuncScriptPath, matlabFunction.toString());
SLDVInvocationScriptCreator sldvInvokeScript = new SLDVInvocationScriptCreator(info.originalModelName,
