Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MATLAB help/documentation not displaying correctly

Tags:

matlab

I'm having a problem with the built-in help/documentation within MATLAB 2013a (issue also present in 2012b).

Upon opening the help files the pages appear with no formatting, only plain text. Search results do appear correctly though.

I have found only one instance of someone else with this issue, on MATLAB central here. However, there are no responses to the author's question. The issue I'm having is exactly the same as described there.

I have tried removing the preference folder and relaunching MATLAB but this doesn't help.

I'm using Windows 8.1 and MATLAB 2013a.

Any help or suggestions on how to fix this would be very much appreciated.

Edit: Thank you everyone for the feedback so far. I don't believe java to be the issue, I have the latest version installed (1.7.0_45) while MATLAB uses it's own version (1.6.0_17). Both of which co-exist on my machine.

Following horchler's thread led me to another semi-related bug report here. The following code is listed at the bottom of the workaround (the script attached to the workaround didn't fix anything unfortunately).

com.mathworks.mlwidgets.html.HtmlComponentFactory.setDefaultType('HTMLRENDERER');

This results in a degraded appearance of documentation pages and loss of some functionality but is still an improvement over the plain text and scrambled pages.

Hopefully from this new information we can work towards a solution!

like image 417
allie Avatar asked Nov 01 '13 18:11

allie


People also ask

How do I view documents in Matlab?

Open the function documentation in a separate window using the doc command. Display function hints (the syntax portion of the function documentation) in the Command Window by pausing after you type the open parentheses for the function input arguments.

What does %s mean in Matlab?

%s represents character vector(containing letters) and %f represents fixed point notation(containining numbers). In your case you want to print letters so if you use %f formatspec you won't get the desired result.

What is the function of help and Doc command in Matlab?

doc opens the Help browser. If the Help browser is already open, but not visible, then doc brings it to the foreground and opens a new tab. doc name displays documentation for the functionality specified by name , such as a function, class, or block.

What is the exclamation mark in Matlab?

Description: The exclamation point precedes operating system commands that you want to execute from within MATLAB.


2 Answers

One solution is to go back to IE-10, or to use the patch on http://www.mathworks.com/support/bugreports/989850

Which basically replaces the localnav.js at <MATLAB>/help/includes/product/scripts

The link to download!

like image 93
Faheem Avatar answered Oct 27 '22 18:10

Faheem


This is an old post, but I had the same issue and have a fix (not downloading R2013b or java related). Just downgrade from IE 11 to 10: Go to System (or System & Security)->Windows Update->View Update History->Installed Updates -> Find IE11 and uninstall it. Your system should revert back to the prior installed version. This fixed the help issues.

like image 20
Ben Avatar answered Oct 27 '22 17:10

Ben