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

2 Ansichten (letzte 30 Tage)
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,
Gabriel

Akzeptierte Antwort

James Tursa
James Tursa am 8 Mär. 2019
Bearbeitet: James Tursa am 8 Mär. 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.
  2 Kommentare
Gabriel Pauka
Gabriel Pauka am 8 Mär. 2019
Ops... my bad. We didn't notice that! But still curious about it.
Walter Roberson
Walter Roberson am 8 Mär. 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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Programmatic Model Editing finden Sie in Help Center und File Exchange

Produkte


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by