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

1 回表示 (過去 30 日間)
5K93M
5K93M 2024 年 1 月 25 日
回答済み: AR 2025 年 2 月 6 日
How does simulink display several logically judged zeros or ones in consecutive bits

回答 (1 件)

AR
AR 2025 年 2 月 6 日
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:

カテゴリ

Help Center および File ExchangeSources についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by