Build Truth tables with MATLAB code
4 次查看(过去 30 天)
显示 更早的评论
Hi,
I wrote a MATLAB fuction which allows to model, in automatic way, boolean equations (written in a graphical language) in Simulink blocks with logical gates using the commands: add_block, add_line and set_param.
Now I want to model the same boolean equations using the truth tables... which MATLAB commands I must to use?
Anyone knows the MATLAB code which allows to build, in automatic way, a truth table?
Links to other discussions are good.
Thanks in advance, best regards
Andrea
0 个评论
采纳的回答
Ilham Hardy
2015-2-17
Do you want to use Truth table in Simulink? Perhaps this link can help you, http://nl.mathworks.com/help/simulink/slref/combinatoriallogic.html
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulink Functions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!