Simulink canvas does not update until I go up a level and then back into the subsystem.
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
MathWorks Support Team
il 12 Giu 2019
Risposto: MathWorks Support Team
il 18 Giu 2019
I have a subsystem inside of a Simulink model. When performing any GUI action such as resizing a block, moving a block, connecting or disconnecting lines between blocks, the changes do not show until I go up a level and then back into the subsystem. I have waited as long as 30 seconds to see if the refresh was slow, but nothing changed.
Once exiting the subsystem and re-entering, the blocks are positioned as I had drawn them. Pressing Ctrl+K does not redraw the blocks- they stay in the old locations.
There are no warnings or errors in the MATLAB command window during this process.I have closed the model, run bdclose all, and reopened the model with the same results.
I do notice that as soon as I move a block, the model is marked as dirty instantly (as its supposed to).
Risposta accettata
MathWorks Support Team
il 19 Giu 2019
This issue is probably due to Simulink customizations.
I would suggest you to execute the following command in MATLAB command prompt and check if the issue pesists:
>> sl_refresh_customizations
The above command should refresh the customizations and resolve the issue.
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Programmatic Model Editing in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!