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?
採用された回答
その他の回答 (1 件)
Fangjun Jiang
2011 年 5 月 3 日
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 で Create Links to External Requirements についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!