Custom help files not appearing on help page

7 vues (au cours des 30 derniers jours)
Stephen Forczyk
Stephen Forczyk le 1 Juil 2022
I have recently built my own toolbox with custom help which was working until I deleted an unused set of paths and now my custom help files do not appear for my toolbox. They are still present for other toolboxes that I downloaded from Matlab Central. I did not change the folder structure of my toolbox nor did I touch the info.xml or helptoc.xml files. This is a total mystery. I am using R2020a as I like to include a larger user database than I could get using the latest release. I also tested it out R2021b and custom help is now missing there

Réponse acceptée

Ayush Gupta
Ayush Gupta le 9 Oct 2023
It seems like the issue you're facing with the custom help files in your toolbox is specific to your own toolbox and not affecting the toolboxes downloaded from Matlab Central. Here are a few suggestions to help you troubleshoot and resolve the problem:
1. Check the folder structure: Verify that the custom help files are placed in the correct location within your toolbox's folder structure. Make sure they are in the same location as before and haven't been unintentionally moved or deleted.
2. Verify XML files: Double-check the `info.xml` and `helptoc.xml` files in your toolbox. Ensure that they are correctly formatted and contain the necessary information to display the custom help files. It's possible that the deletion of the unused paths affected these files, so compare them with the versions you had before to ensure they are intact.
3. Clear MATLAB cache: MATLAB may cache the help files for performance reasons. Clearing the cache can help refresh the help system and display the updated custom help files. You can do this by running the following command in MATLAB's Command Window:
clear classes
4. Update MATLAB path: Make sure that the paths to your toolbox and custom help files are correctly added to MATLAB's search path. You can check this by running the `path` command in MATLAB and verifying that the necessary paths are included.
5. Test on a clean installation: To further investigate the issue, you can try testing your toolbox on a clean installation of MATLAB. This will help determine if the problem is specific to your MATLAB environment or if it's related to the toolbox itself.
If none of these suggestions resolve the issue, it may be helpful to provide more specific details about the folder structure and contents of your toolbox, as well as any error messages or warnings you encounter.
To read more about the above mentioned suggestions kindly view the following documentations:
Hope this helps!

Plus de réponses (0)

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Produits


Version

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by