Logging of Merge block Inputs
1 view (last 30 days)
Show older comments
Hai, I wanted to log the input signals going to merge block. By default MATLAB does not allow to log the signals going to merge block. Is there any alternate solution to get the signal values of the inputs going to merge block?
0 Comments
Answers (1)
MarkB
on 28 Mar 2011
I would recommend putting a "Signal Conversion" (not to be confused with Data Type Conversion) block immediately upstream from each of the Merge block inputs, and then open each Signal Conversion block's dialog and enable the checkbox that overrides optimizations. These blocks essentially "break up the signal" while passing the value through (don't worry, no Unit Delay-style behavior). You should be able to log the signals immediately upstream from each of the Signal Conversion blocks without any issue.
See Also
Categories
Find more on Prepare Model Inputs and Outputs in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!