Filter löschen
Filter löschen

Why do I need to press “Reinitialize from Source” multiple times before the variables in the workspace are actually updated?

1 Ansicht (letzte 30 Tage)
When I have my Model Workspace Data Source set to Matlab File or Matlab Code, I am finding that I need to press “Reinitialize from Source” multiple times before the variables in the workspace are actually updated to reflect the changes I made in the initialization script. Often I have to open the Variable Editor and check that the elements of the struct have actually changed. Two questions:
  1. Why am I needing to press Reinitialize multiple times (currently running R2016a)?
  2. The work flow for examining a struct field using the Variable Editor is highly inefficient (many button clicks, and then the editor closes as soon as you click away). Is there a way to enable a tree view of struct contents in the Workspace view in Model Explorer without having to open the Variable Editor every time you want to look inside the struct?
Thanks

Antworten (0)

Kategorien

Mehr zu Interactive Model Editing finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by