Why does MATLAB freeze for minutes when I click 'publish' within Editor? (Windows 10)

43 visualizzazioni (ultimi 30 giorni)
In Ubuntu 16.04, from within the script editor window I would click 'Publish' and it would take ~7 seconds, a Figure window would appear then disappear, then the MATLAB Web Browser would open showing the published HTML file.
In Windows 10, the cursor turns into an hourglass within the Editor window, and MATLAB appears frozen. The Figure window appeared (empty) same as in Ubuntu, but nothing else happened. The cursor is normal outside the Editor window. I close the Figure window, thinking maybe if I close the Figure window MATLAB Editor will unfreeze and the publishing will finish. The cursor remains an hourglass when placed within the Editor window and I keep waiting. I assume it's crashed, since nothing seems to be happening (and I've had hundreds of problems with Surface Pro 4 Windows 10) and I come here to write this report.
While writing this, the process finished successfully: Web Browser opened and the html file has been created.
Is this behavior normal? This Dec. 2015 Surface Pro 4 has an Intel i5 2.40 GHz 2.50 GHz (?) processor, 4 GB RAM, 64-bit, comparable to the 2011 sony vaio laptop running Ubuntu, yet seems to have far more trouble publishing the HTML file, making me think it had locked up interminably ...
  2 Commenti
Daniel Bridges
Daniel Bridges il 9 Feb 2018
>> ver
-----------------------------------------------------------------------------------------------------
MATLAB Version: 9.3.0.713579 (R2017b)
MATLAB License Number: STUDENT
Operating System: Microsoft Windows 10 Pro Version 10.0 (Build 16299)
Java Version: Java 1.8.0_121-b13 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
-----------------------------------------------------------------------------------------------------
MATLAB Version 9.3 (R2017b)
Simulink Version 9.0 (R2017b)
Control System Toolbox Version 10.3 (R2017b)
DSP System Toolbox Version 9.5 (R2017b)
Data Acquisition Toolbox Version 3.12 (R2017b)
Image Processing Toolbox Version 10.1 (R2017b)
Instrument Control Toolbox Version 3.12 (R2017b)
Optimization Toolbox Version 8.0 (R2017b)
Signal Processing Toolbox Version 7.5 (R2017b)
Simulink Control Design Version 5.0 (R2017b)
Statistics and Machine Learning Toolbox Version 11.2 (R2017b)
Symbolic Math Toolbox Version 8.0 (R2017b)

Accedi per commentare.

Risposte (1)

Julia Dunn
Julia Dunn il 28 Nov 2018
Hello, I have found the more outputs the function is writing, the longer the publishing takes. This time appears as freezing on my computer, but after a while the pdf is produced. Hope this helps

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by