Suppress Comment Block Printing

2 views (last 30 days)
Douglas Anderson
Douglas Anderson on 27 Sep 2017
Commented: Douglas Anderson on 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 Comments
Jan
Jan on 27 Sep 2017
Edited: Jan on 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 on 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.

Sign in to comment.

Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!