MATLAB 帮助中心
本页采用了机器翻译。点击此处可查看英文原文。
检查对象是否为真值表
tf = slreportgen.utils.isTruthTable(obj)
tf = slreportgen.utils.isTruthTable(obj) 测试输入 obj 是否是 Simulink® Truth Table 模块或 Stateflow® 真值表对象。
tf
obj
示例
全部折叠
openExample('sf_climate_control'); tf = slreportgen.utils.isTruthTable... ('sf_climate_control/ClimateController')
tf = logical 1
在这种情况下,ClimateController 模型中的 sf_climate_control 模块是 Truth Table 模块。
ClimateController
sf_climate_control
要检查是否为 Truth Table 模块或对象的对象,指定为对象路径或句柄的字符串或字符数组。
true
false
输入是否是 Truth Table 模块或对象,如果输入系统是真值表,则返回为 1(真)。否则,返回 0 (false)。
1
0
在 R2018b 中推出
slreportgen.report.TruthTable | slreportgen.utils.isLookupTable
slreportgen.report.TruthTable
slreportgen.utils.isLookupTable
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
选择网站
选择网站以获取翻译的可用内容,以及查看当地活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
欧洲
亚太
联系您当地的办事处