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

1 次查看(过去 30 天)
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

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Event Functions 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by