How do I Copy and Paste a Simulink model into an external software's GUI?
117 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
MathWorks Support Team
le 27 Juin 2009
Modifié(e) : MathWorks Support Team
le 31 Jan 2023
I would like to copy my Simulink model into another application (such as Visio or Word). I tried to copy and paste it directly from Simulink into the other software, but it did not work as I expected. How can I achieve this workflow?
Réponse acceptée
MathWorks Support Team
le 31 Jan 2023
Modifié(e) : MathWorks Support Team
le 31 Jan 2023
You cannot copy & paste the Simulink model to another document and keep the functionality of the Simulink blocks. Instead, you need to convert it to an image file.
For MATLAB R2019a and earlier releases: In Simulink, go to top menu bar and select "Edit -> Copy Model To Clipboard", and then paste it into other document.
For MATLAB R2019b and later releases: In Simulink, go to top menu bar and select "Format -> Screenshot", and then paste it into other document.
Alternatively, for any release, you can press "ALT - Print Screen" or use a third-party snipping tool to capture the Simulink model and paste it to other document.
If you only need a part of the model, the solution is to copy and paste the blocks you highlighted into a new Simulink file and convert it into an image using the methods described above.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Event Functions 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!