R2022a Simulink: Undock XY Graph and Matlab Function
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello All -
Just switched to R2022a from R2020a. I think it was a good move but still deciding! There are a couple of changed behaviors I noticed with Simulink, specifically when opening a Matlab Function block, the text editor is now docked in the Simulink model whereas before it was undocked, i.e., it opened in a separate window external to the Simulink model. The same behavior exists for the XY Graph block in R2022a but not in R2020a.
Has anyone determined if you can undock the windows for these blocks so they are not embedded in the Simulink model?
Thanks -
3 commentaires
C. Nwachoma
le 27 Oct 2022
By the way, I have been searching for a way to dock the x-y graph (2022b) for an hour without success. I think Mathworks should sample users' opinion before making major changes like these.
Réponses (1)
Naga
le 12 Jan 2024
Hi Jared,
I understand you have some concerns regarding the change in behavior for the MATLAB Function block in Simulink, specifically with the text editor now being docked within the model in R2022a. I understand that having the MATLAB editor in a separate window was a preferred workflow for you.
If you wish to undock the MATLAB Function block editor, you can follow these steps:
- Open your Simulink model.
- Drag and drop the MATLAB Function block onto your model.
- Press and hold the <SHIFT> key.
- Double-click on the MATLAB Function block to open the function for editing.
By holding down the <SHIFT> key while double-clicking the block, you can launch the MATLAB Function block editor in a separate window, providing the flexibility you are looking for in terms of editing the block outside the Simulink model.
Hope this helps!
0 commentaires
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!