Floating scope will not display data (wired scope ok)

4 次查看(过去 30 天)
How do I use a floating scope? Wired scope to the same signal works fine. With the floating scope, I select the signal through 'Signal Selection' on the scope, run the simulation, see data in the wired scope, see not data in the floating scope and autoscale is 'greyed' out as if no data is there.
How do I get this to work?

回答(3 个)

Paul Costa
Paul Costa 2015-1-8
Have you cleared the "Signal storage reuse" check box from the Configuration Parameters dialog? Here's some info from the documentation:
Before using a Floating Scope in a simulation, clear the Signal storage reuse check box in the Optimization > Signals and Parameters pane of the Configuration Parameters dialog box. For more information, see Optimization Pane: Signals and Parameters.

Paul Moore
Paul Moore 2015-1-8
Yes. The "Signal storage reuse" box is 'unchecked'. I did this early on and just reran the simulation again to verify that this checkbox has no effect on the floating scope (no data).
You say to find this checkbox in the "Signals and Parameters" pane of "Optimization". My "Configuration Parameters" dialog only has one view called "Simulation and code generation". There are no other 'panes'. The dialog I see does have the "Signal storage reuse" checkbox, which is 'unchecked".
  1 个评论
Paul Costa
Paul Costa 2015-1-9
Sorry for the trouble. I suggest you send your example model and relevant information (MATLAB version, OS, etc) to support@mathworks.com. They should be able to help you sort this out.

请先登录,再进行评论。


Nathan Zimmerman
Nathan Zimmerman 2017-2-9
Having a similar issue. Signals from a model reference that are test-pointed won't display. You check them, then you run the simulation and they uncheck themselves. No error/warning messages appear as to why that might be.

类别

Help CenterFile Exchange 中查找有关 View Data During Simulation 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by