Is there a way to programmatically display documentation pages for the methods of the Simulink.SimulationInput class rather than the page for class?
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Zachary
el 1 de Jun. de 2020
Editada: Fangjun Jiang
el 1 de Jun. de 2020
This is a niche issue I ran into, but I set up a hyperlink in a Live Script to run...
matlab: doc setPostSimFcn
... to try to link other users to the documentation for the method, setPostSimFcn, of the Simulink.SimulationInput class since there are strict rules for using this method. When the user clicks on this hyperlink, they are directed to the Help Browser equivalent of this online Documentation page (the page about the class to which the method belongs) rather than this page (the page about the method). I could always set the hyperlink to open the online Documentation page in a web browser, but I like to keep documentation in the Help Browser. Is there another way to call the doc function to link to the method page rather than the class page?
4 comentarios
Fangjun Jiang
el 1 de Jun. de 2020
Indeed! You can report to Mathworks tech support to see if it's a bug. I have one workaround.
Respuesta aceptada
Fangjun Jiang
el 1 de Jun. de 2020
Editada: Fangjun Jiang
el 1 de Jun. de 2020
Use web() instead of doc()
web(fullfile(docroot, 'simulink/slref/setpostsimfcn.html'))
web(fullfile(docroot, 'simulink/slref/simulink.simulationinput-class.html'))
You can use doc() to bring up the page and then right click, "Get Page Address".
In Live Editor, still use "matlab: web()"
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Audio and Video Data en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!