LiveScript error while saving to html
Show older comments
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 Comments
Guillaume
on 12 Jul 2019
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
on 12 Jul 2019
Walter Roberson
on 12 Jul 2019
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
on 12 Jul 2019
Ralf Hillebrand
on 9 Mar 2020
Thank you for bringing this issue to our attention. Our development team is reviewing it and investigating solutions.
Answers (0)
Categories
Find more on Call Java from MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!