Borrar filtros
Borrar filtros

hyperlink from report to block in simulink model

8 visualizaciones (últimos 30 días)
checker
checker el 1 de Jun. de 2023
Respondida: checker el 4 de Jun. de 2023
Greetings,
I'd like to have a simulink report (.docx or .pdf) that includes an icon (or just name) of a block in a model that when clicked (or ctrl+click), the block in the model is highlited. So I'm looking for a function that generates a hyperlink suitable for navigation from a doc to a simulink model. I know this to be possible since the Requirements Toolbox will embed a link in a MSWord doc when associated with a requirement in a requirement set. (tho' not very slick as it uses a browser window as an intermediary). In this case, the hyperlink is of the form:
http://127.0.0.1:31415/matlab/feval/rmiobjnavigate?arguments=%5b%22untitled.slx%22,%22:1%22%5d
Thanks,
-Chris

Respuesta aceptada

checker
checker el 4 de Jun. de 2023
A friend at mathworks pointed out an appropriate command (requires Requirements toolbox and local host to be properly configured):
slreq.getExternalURL(gcbh)

Más respuestas (0)

Categorías

Más información sobre Simulink Report Generator en Help Center y File Exchange.

Productos


Versión

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by