フィルターのクリア

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

2 ビュー (過去 30 日間)
Erik Lowney
Erik Lowney 2019 年 2 月 7 日
編集済み: Erik Lowney 2019 年 2 月 7 日
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.

回答 (0 件)

カテゴリ

Help Center および File ExchangeManage Products についてさらに検索

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by