Undo possible for programmatically changed simulink model?
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Raphael Klapczynski
el 21 de Feb. de 2018
Respondida: Raphael Klapczynski
el 5 de Mzo. de 2018
I've created some little helper-functions which help me e.g. to automatically create in- and outports for Subsystems or automatically reposition those ports. I'm using the add_block, add_line, set_param functions for this.
Is there any way to be able to undo those changes in Simulink if necessary?
Thanks in advance.
0 comentarios
Respuestas (2)
Sujit Muduli
el 5 de Mzo. de 2018
Hi Raphael,
There is no API call available to do the UNDO operation.
But you may implement your custom UNDO function by keeping the handles for each of the blocks and lines that you are creating by your scripts.
Just wondering about your use case and where you are thinking of using this UNDO call could you please let me know about your workflow?
0 comentarios
Ver también
Categorías
Más información sobre Programmatic Model Editing en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!