Can I create custom help for Simulink subsystems?

6 vues (au cours des 30 derniers jours)
Spencer
Spencer le 11 Août 2014
Commenté : Spencer le 11 Août 2014
When you mask a subsystem you can add custom help to the mask in the Documentation tab of the Mask Editor. By doing this you can right click the mask and go to 'Help' at the bottom of the drop down to pull up the documentation in the MATLAB web browser. Is there any way to do this same thing with a regular, unmasked subsystem?

Réponse acceptée

A Jenkins
A Jenkins le 11 Août 2014
I've been using this workaround:
  1. Add the mask to the subsystem and create your documentation as normal. Don't add anything else to the mask.
  2. Now when you try to double click on a block to open it, you have an ugly empty mask popup.
  3. To get rid this, go to Properties->Callbacks->OpenFcn, and add the command open_system(gcb,'force').
  1 commentaire
Spencer
Spencer le 11 Août 2014
That's really helpful, thank you!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Subsystems dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by