本页对应的英文页面已更新,但尚未翻译。 若要查看最新内容,请点击此处访问英文页面。

真值表

表示决策应用的组合逻辑

真值表函数通过简洁的表格式形式来实现组合逻辑设计。在 Stateflow® 图中添加真值表,或者直接将 Truth Table 模块添加到 Simulink® 模型中。

模块

Truth TableRepresent logical decision-making behavior with conditions, decisions, and actions

主题

Reusable Functions in Charts

Specify function calls in states and transitions.

通过定义真值表重用组合逻辑

以表格形式表达组合逻辑。

Truth Table Operations

Construct truth tables in the Stateflow Editor.

Language Options for Stateflow Truth Tables

Specify truth table conditions and actions by using MATLAB® or C syntax.

编写真值表

定义真值表的逻辑行为。

Debug Run-Time Errors in a Truth Table

Use breakpoints to debug truth tables.

Correct Overspecified and Underspecified Truth Tables

Run diagnostic checks to detect errors in truth table specification.

View Generated Content for Stateflow Truth Tables

Truth table logic is implemented as flow charts and MATLAB functions.

Map Fault Conditions to Actions by Using Truth Tables

Use truth tables to map fault conditions to their consequent actions.

Export Stateflow Functions for Reuse

Extend the scope of your functions to other blocks in a Simulink model.

Reuse Functions by Using Atomic Boxes

Encapsulate reusable functions in a separate namespace.

特色示例