MATLAB: Is data truncated when using Floating Scopes in Simulink 7.0 (R2007b)

simulink

Floating scopes created via Signal & Scope Manager or by checking the "Floating Scope" option in a Scope, do not show the whole range of data. Even with the "Limit data points to last" option unchecked, I do not see the entire range of data. Scope blocks however display the entire range of data.

Best Answer

This is expected behavior when using floating scopes in Simulink 7.0 (R2007b). In wired scopes, the trace is drawn segment by segment. The data from the previous time segments gets logged in a buffer and the full trace is redrawn from this logged buffer. In the case of floating scopes, no buffer is maintained to log the data and hence only data for the last time segment (which is a function of the time) is drawn.