How does simulink display several logically judged zeros or ones in consecutive bits

2 views (last 30 days)
How does simulink display several logically judged zeros or ones in consecutive bits

Answers (1)

AR
AR on 6 Feb 2025
Hi! Simulink uses blocks like the "Logical Operator" and "Relational Operator" to perform logical operations on signals. These blocks evaluate conditions and output binary results (0s and 1s), creating arrays or vectors of these binary values based on the logical conditions applied. It can be visualized in several ways:
  • Scope Block: Displays the sequence of binary values over time, allowing to see the logical evaluations as they change.
  • Display Block: Shows the current binary values directly in the Simulink model, useful for quick checks.
  • To Workspace Block: Exports the logical data to the MATLAB workspace for further analysis.
For more information, check out these MathWorks documentation links:

Tags

Community Treasure Hunt

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

Start Hunting!