Hyperlink to a pdf file within a Simulink model

Is it possible to provide a hyperlink to a pdf file within a simulink model in order to provide a documentation reference? If yes can the link direct to a particular page number within the file?

 채택된 답변

Guy Rouleau
Guy Rouleau 2011년 5월 3일

1 개 추천

Simulink Verification and Validation provides this exact functionality.
Here is the product page:
To learn on this topic, I recommend starting with this section of the doc:
The doc page listing the supported document format you can link to (MSWord, Excel, DOORS, pdf...):
Request a demo and give it a try!
Guy

추가 답변 (1개)

Fangjun Jiang
Fangjun Jiang 2011년 5월 3일

0 개 추천

the "open" command can open .pdf file.
You can add an empty subsystem block to your model. Add the following line to its "OpenFcn" call back open('doc.pdf');
Need to research more to see if it can open to a particular page.
EDIT
find out the Adobe Reader command line option:
Open a PDF file at page 7:
AcroRd32.exe /A "page=7=OpenActions" PdfFile
So you can wrap this command using system() and put it in your "OpenFcn" call back, like
system('AcroRd32.exe /A "page=7=OpenActions" doc.pdf');
You may need to specify the full path of AcroRd32.exe and your .pdf file

카테고리

도움말 센터File Exchange에서 Programmatic Model Editing에 대해 자세히 알아보기

제품

태그

Community Treasure Hunt

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

Start Hunting!

Translated by