I'm trying to publish my MATLAB code, but when I do, the publish button doesn't respond. When I go into the more publishing options, a figure window pops up (note: my code never at any point asks for a figure window) and it says publishing, but nothing happens. Any ideas?

7 commentaires

Stephen23
Stephen23 le 5 Mar 2018
Modifié(e) : Stephen23 le 5 Mar 2018
A figure popping up is normal: this happens because of how the publisher works, not because of your code.
Do you get any HTML/pdf/... files? Does the operation finish?
Matthew Olivo
Matthew Olivo le 5 Mar 2018
I'm trying to get a PDF but nothing shows up.
Stephen23
Stephen23 le 5 Mar 2018
Does the operation finish? Can you resume executing other code?
Matthew Olivo
Matthew Olivo le 5 Mar 2018
No
Stephen23
Stephen23 le 5 Mar 2018
How long does this code normally take to execute? Does it contain any UI's or dialog boxes?
Matthew Olivo
Matthew Olivo le 5 Mar 2018
All the code has is a while loop. However, the re are about +1000 lines of comments and the while loop prints 4 items each time.
Stephen23
Stephen23 le 5 Mar 2018
It sounds like you are printing quite a lot of text. This will be slow.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Interactive Control and Callbacks dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by