R2024b: documentation installed locally - how can I bookmark help pages?

53 vues (au cours des 30 derniers jours)
Andres
Andres le 16 Nov 2024 à 15:51
Commenté : Andres le 17 Nov 2024 à 18:13
In R2024b, Matlab displays the documentation in the system web browser, without customization options in Windows.
Executing say
doc toc
opens the html page from the locally installed documentation, e.g.
http://127.0.0.1:58378/static/help/matlab/ref/toc.html?searchPort=58378
The port number (58378 above) seems to be randomly generated and is valid only as long as the current Matlab instance is running, so bookmarking the page for a future Matlab session is useless as the bookmark won't contain the new port number.
I suspect that there are no bookmark related problems with web documentation. Is that correct?
And is there a way to somehow bookmark local doc pages, preferably accessible as well when Matlab is not running?
  1 commentaire
Andres
Andres le 16 Nov 2024 à 16:08
Btw, when I open the file toc.html directly from [docroot]/matlab/ref/ in any of my browsers, I observe display problems with the page flickering and reloading infinitely.

Connectez-vous pour commenter.

Réponses (1)

Image Analyst
Image Analyst le 17 Nov 2024 à 14:53
Can you go to your router settings and assign your computer a static IP address? You should be able to.
  2 commentaires
Walter Roberson
Walter Roberson le 17 Nov 2024 à 17:09
the ip address is static as 127.0.0.1. the port number is variable
Andres
Andres le 17 Nov 2024 à 18:13
Correct, 127.0.0.1 is just localhost. One could however configure port fowarding on localhost connecting to the variable port of Matlab's local documentation service (58378 in my example above) once you know that number with some fixed listenport with netsh on Windows. Then you could save the local bookmarks using the fixed listenport, and they would work while the Matlab instance is running.
You would need to delete the port forwarding rule when closing Matlab. Port forwarding with netsh would require administrator rights. Cumbersome.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Produits


Version

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by