필터 지우기
필터 지우기

How do I write in a Simulink truth Table, using Matlab script?

조회 수: 2 (최근 30일)
Njele Eric
Njele Eric 2014년 11월 14일
편집: Njele Eric 2014년 11월 14일
Hi,
I would like to make a matlab script which reads an Excel file and then writes in a Simulink truth Table.
My question is how do I write in a Simulink truth Table from script?
Thank you in advance for your answer.

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2014년 11월 14일
You can use set_param function. Use also get_param to get the different names of your parameters
get_param('Yourmodelname/Truth Table','Dialogparameters')
  댓글 수: 2
Njele Eric
Njele Eric 2014년 11월 14일
Thank you for your answer. With get_param('Yourmodelname/Truth Table','Dialogparameters'),I get many property but none of them give me the possibility to add/set 'conditions' or 'Actions' in the ''condition Table'' and ''Action Table'' of the Truth Table.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink Functions에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by