Closed extall closed 2 years ago
With the toolbox installed, upon launch of MATLAB R2022a, the following error is displayed in the MATLAB workspace:
Unrecognized field name "help_location". Error in matlab.internal.doc.project.buildToolboxStruct>getSourceFileStruct/updateDocSourceFileStruct (line 88) xmlFileStruct.help_location = fixSlashes(xmlFileStruct.help_location); Error in matlab.internal.doc.project.buildToolboxStruct>getSourceFileStruct (line 76) updateDocSourceFileStruct; Error in matlab.internal.doc.project.buildToolboxStruct>getSourceFileStructArray (line 55) fileStruct = getSourceFileStruct(file); Error in matlab.internal.doc.project.buildToolboxStruct (line 3) docFileStructArray = getSourceFileStructArray(docFiles); Error in matlab.internal.doc.project.getCustomToolboxes (line 12) customToolboxes = matlab.internal.doc.project.buildToolboxStruct(docFiles,demoFiles); Error in matlab.internal.doc.updateCustomDocContent (line 2) matlab.internal.doc.project.getCustomToolboxes;
The reason for this is a missing field (help_location) in the info.xml file.
help_location
info.xml
Fixed by removing the offending file. In the future, the file may return when the docs are updated.
With the toolbox installed, upon launch of MATLAB R2022a, the following error is displayed in the MATLAB workspace:
The reason for this is a missing field (
help_location
) in theinfo.xml
file.