Suppress Comment Block Printing

2 vues (au cours des 30 derniers jours)
Douglas Anderson
Douglas Anderson le 27 Sep 2017
I am writing code that has large blocks of comments, which I suppress with %{ and %} pairs, and then collapse them while working -- nice feature! However, I don't want to always print those blocks! Is there any way to suppress printing that from the Editor? I don't see that option.
Thanks!
Doug
  2 commentaires
Jan
Jan le 27 Sep 2017
Modifié(e) : Jan le 27 Sep 2017
Print? Do you print your source code on paper? Why?
Some versions of a software made by Vicon (Motion Analysis) did not have a print button or menu. The user asked, where they can trigger a print out, and the official answer was: "We do not support to kill trees."
Douglas Anderson
Douglas Anderson le 27 Sep 2017
Thank you, Jan. And two reasons for printing source code: One, I review the code at times when I do not have my computer with me, and two, I am 70 years old and "the printed word" still actually means something to me! :) I get magazine subscriptions, etc.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur MATLAB dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by