Azzera filtri
Azzera filtri

hyperlink from report to block in simulink model

9 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Simulink Report Generator in Help Center e File Exchange

Prodotti


Release

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by