LiveScript error while saving to html

7 次查看(过去 30 天)
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 个评论
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.
Ralf Hillebrand
Ralf Hillebrand 2020-3-9
Thank you for bringing this issue to our attention. Our development team is reviewing it and investigating solutions.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Code Generation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by