Suppress Comment Block Printing

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."
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 Modeling in Help Center and File Exchange

Products

Asked:

on 27 Sep 2017

Commented:

on 27 Sep 2017

Community Treasure Hunt

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

Start Hunting!