MATLAB Answers

Voltage Measurement block: "do not delete this again". What is the story behind this?

6 views (last 30 days)
Dear all,
I was (as usual) creating some simulation on Simulink, and I noticed that the "Voltage Measurement" block had something wierd on it. I zoomed in, and found this:
There is a block called ''do not delete this again" inside it. My friends and I found this hilarious. We usually write this on our simulations/codes to prevent each other from doing something wrong again, after messing up the same thing several times.
Please, I just want to make clear that I am not disrespecting or mocking any Mathworks employee. We found this hilarious because Mathworks is doing something that we usually do during our projects... and it is kinda fun to see one of the most important softwares in the world doing something that we do between friends.
Does anyone knows the story behind the "do not delete this again" block? We are curious...
Best regards,

Accepted Answer

James Tursa
James Tursa on 8 Mar 2019
Edited: James Tursa on 8 Mar 2019
Do not delete this "gain" ... not "again"
P.S. Mathworks employees do have a sense of humor ... just not for this particular case! E.g., see the output of the "spy" function with no input arguments on older versions of MATLAB.
Walter Roberson
Walter Roberson on 8 Mar 2019
modeling an analog voltage measurement almost always involves a resistance, and gain blocks often are modeled as having a resistance. Without the resistance inside the gain block, a model of the current through the system can end up infinite.

Sign in to comment.

More Answers (0)




Community Treasure Hunt

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

Start Hunting!