quick loging and un-logging of Simulink signals

1 次查看(过去 30 天)
For debugging and test recording purposes, I need to record a lot of signal data. The way I used to do this is to use the (right click) context menu to connect the signal to a view, and then to save the model signal logging oblect. Since this feature is marked for obsolescense, I am trying to learn an efficient way to use signal logging data. But, regarding work efficiency, the only way to "log" a signal is to open the form for each signal and to check a box. This is very slow.
What would be really nice is to be able to do things like log/un-log a signal from the context menu. Even better would be able to be able to log all inputs and or outputs to a system with 1 menu command, or to be able to log all highlighted signals with 1 menu command. Does any of the capability exist in Simulink?

采纳的回答

Ryan G
Ryan G 2013-12-26
From 13b release notes:
Data Management
Streamlined selection of one or more signals for signal logging In the Simulink Editor, you no longer need to open the Signal Properties dialog box to enable signal logging for a signal. Instead: Select one or more signals. Click the Record button arrow and click Log/Unlog Selected Signals.
If that doesn't do it you can do it programatically if you know the signal name.

更多回答(0 个)

类别

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

产品

Community Treasure Hunt

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

Start Hunting!

Translated by