Voltage Measurement block: "do not delete this again". What is the story behind this?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Gabriel Pauka
le 8 Mar 2019
Commenté : Walter Roberson
le 8 Mar 2019
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
0 commentaires
Réponse acceptée
James Tursa
le 8 Mar 2019
Modifié(e) : James Tursa
le 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.
2 commentaires
Walter Roberson
le 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.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Programmatic Model Editing dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!