LiveScript error while saving to html

I have a LiveScript code with a lot of symbolic expressions. I try to export the LiveScript to html, but I get the following error:
Error while trying to save to HTML.
java.util.concurrent.TimeoutException
I tried to fix it by going to Preferences -> General -> Java Heap Memory and set it to the maximum (2018 MB). It did not worked.
I tried to export to pdf,but get the same error: java.util.concurrent.TimeoutException.
What could I do to export the code (or, at least, the results) to html? I can run the code and check the results, but can't export it.
This is my version of MATLAB:
ver
-----------------------------------------------------------------------------------------------------
MATLAB Version: 9.5.0.944444 (R2018b)
MATLAB License Number: 673468
Operating System: Microsoft Windows 7 Professional Version 6.1 (Build 7601: Service Pack 1)
Java Version: Java 1.8.0_152-b16 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
-----------------------------------------------------------------------------------------------------
MATLAB Version 9.5 (R2018b)
Simulink Version 9.2 (R2018b)
Control System Toolbox Version 10.5 (R2018b)
Curve Fitting Toolbox Version 3.5.8 (R2018b)
Data Acquisition Toolbox Version 3.14 (R2018b)
Deep Learning Toolbox Version 12.0 (R2018b)
Fuzzy Logic Toolbox Version 2.4 (R2018b)
Global Optimization Toolbox Version 4.0 (R2018b)
Image Acquisition Toolbox Version 5.5 (R2018b)
Image Processing Toolbox Version 10.3 (R2018b)
MATLAB Coder Version 4.1 (R2018b)
MATLAB Compiler Version 7.0 (R2018b)
MATLAB Compiler SDK Version 6.6 (R2018b)
Optimization Toolbox Version 8.2 (R2018b)
Parallel Computing Toolbox Version 6.13 (R2018b)
Robust Control Toolbox Version 6.5 (R2018b)
Signal Processing Toolbox Version 8.1 (R2018b)
Simscape Version 4.5 (R2018b)
Simscape Multibody Version 6.0 (R2018b)
Simulink Coder Version 9.0 (R2018b)
Simulink Control Design Version 5.2 (R2018b)
Statistics and Machine Learning Toolbox Version 11.4 (R2018b)
Symbolic Math Toolbox Version 8.2 (R2018b)
System Identification Toolbox Version 9.9 (R2018b)

댓글 수: 5

Guillaume
Guillaume 2019년 7월 12일
Looks like the conversion is taking too long and triggers a timeout. In which case, increasing available memory is unlikely to make much of a difference.
Thales
Thales 2019년 7월 12일
How can I change it? Is there a way to disable this trigger?
Walter Roberson
Walter Roberson 2019년 7월 12일
Are some of the symbolic expression fairly large? Conversion from internal symbolic representation to character or latex can take a very long time. I have a 10 kilobyte .mat file that takes over 26 hours to convert to character. I have been complaining to Mathworks but I am not getting much traction; more people need to be opening cases on the issue.
This also affects conversion speed for matlabFunction.
Thales
Thales 2019년 7월 12일
Each expression by itself is not fairly large. However, I do have a LOT of equations - more than 1000 lines of code with different equations for different cases.
@Walter Roberson said you have a 10 KB file, my file has 52 KB. It runs fine, but I think the problem is just what you said - the conversion from symbolic to character/latex.
If I split the code in two parts and create a html from each part, it runs just fine. It is just inconvenient to have 2 html files for different parts of code.
Thank you for bringing this issue to our attention. Our development team is reviewing it and investigating solutions.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Call Java from MATLAB에 대해 자세히 알아보기

질문:

2019년 7월 12일

댓글:

2020년 3월 9일

Community Treasure Hunt

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

Start Hunting!

Translated by