How to link to a .pdf-file in Matlab Simulink Mask Editor Documentation Help
2 次查看(过去 30 天)
显示 更早的评论
Hello,
I am trying to link to a .pdf file in the documentation help part of the mask editor. The problem is that I do not want to set the whole path including C:\documents..., I just want to refer to a directory within the directory where the simulink model is stored. is there any possibility to do that?
0 个评论
回答(2 个)
Kaustubha Govind
2012-10-22
I think you can just use MATLAB commands like:
web('http://www.mathworks.com/products/datasheets/pdf/matlab.pdf', '-browser')
In the "Mask help" edit pane. Instead of the URL, just specifying a local path should also work. You could perhaps use the output of which(bdroot) to figure out the path to the current model.
0 个评论
Florian
2012-11-9
1 个评论
Kaustubha Govind
2012-11-12
Could you explain "set a path that is universal"? Is there a way to identify the path that the PDF exists at?
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulink Environment Customization 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!