Link to section in another live script?
Show older comments
I'm creating different live script that act as documentation of my project.
I would like to create links between those scripts so I don't have repeat things. Is this possible?
When I create a hyperlink I only seem to have the option to select a section in the current live script or an external web page...
Accepted Answer
More Answers (1)
Julie Shapiro
on 10 Jul 2025
2 votes
Starting in R2022a, you can link to a section in a separate, existing live script or function using the Insert Hyperlink dialog box in the Live Editor. To insert a hyperlink to a separate document, in the Insert Hyperlink dialog box, set the "Link to" field to Location in existing document and enter or browse for the file path. Then, select a location in the document preview that displays on the right.
Categories
Find more on Live Scripts and Functions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!