Effacer les filtres
Effacer les filtres

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

2 vues (au cours des 30 derniers jours)
Njele Eric
Njele Eric le 14 Nov 2014
Modifié(e) : Njele Eric le 14 Nov 2014
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.

Réponse acceptée

Azzi Abdelmalek
Azzi Abdelmalek le 14 Nov 2014
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 commentaires
Njele Eric
Njele Eric le 14 Nov 2014
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.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Simulink Functions dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by