Need help regarding internal linking in Publishing help.

2 views (last 30 days)
When i publish following comment is my mfile
% ADDME Add two values together.
% C = ADDME(A) adds A to itself.
% SUM is also a function.
% See also SUM, PLUS, PLOT.
So see also creates internal links to help of SUM, PLUS, PLOT. but i am also using SUM in above line. which states
SUM is also a function .
Here it don,t creates link to help of SUM function. How i can create internal linking to help of different functions. So when i click on these function it goes to help page of that function.

Answers (2)

Chad Greene
Chad Greene on 19 Jun 2014
Try
% <matlab:doc('sum') SUM> is also a function.

Sean de Wolski
Sean de Wolski on 19 Jun 2014
Edited: Sean de Wolski on 19 Jun 2014
The linking is created because it follows a "See Also". This is a specific pattern that when matched will cause a link.
To create your own links you can use "matlab:expression" inside of the hyperlink. For example:
%%Link to bsxfun
%
% I link to <matlab:doc('bsxfun') bsxfun>

Categories

Find more on Historical Contests 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!