Build Truth tables with MATLAB code
조회 수: 3 (최근 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!