Borrar filtros
Borrar filtros

MATLAB help HTML in Linux hardcoded with the wrong machine type?

2 visualizaciones (últimos 30 días)
Erik Lowney
Erik Lowney el 7 de Feb. de 2019
Editada: Erik Lowney el 7 de Feb. de 2019
In MATLAB R2018a and R2018b (patch 2), the help HTML is not rendered correctly. It appears the CSS isn't being read at all (on 2018b), so help pages are unformatted lines of text. Also, images don't appear. The problem here seems to be the HTML has hardcoded paths with /win64/ all over the documentation, e.g.:
../examples/graphics/win64/longimagename.png.
However, on the actual machine, the physical directory structure looks like:
$MATLAB_DIR/help/examples/graphics/glnxa64/longimagename.png.
I've made a few symlinks here and there which fixed image loading on both 2018a and 2018b, however these folders are everywhere, and requires me to hunt down and add symlinks to dozens of folders. Do a 'egrep -R win64' to see what I mean. They're in json, html, etc.
This still doesn't solve the missing CSS on 2018b. For some reason, 2018a CSS works fine.
I have tried changing webutils.htmlrenderer('basic') to 'default' and 'chromium', but all that does is open up firefox which then errors on a forbidden message, likely because of linux permission issues.

Respuestas (0)

Categorías

Más información sobre Manage Products en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by