Effacer les filtres
Effacer les filtres

Programmatically find valid values that a block parameter accepts

2 vues (au cours des 30 derniers jours)
giga
giga le 1 Fév 2016
I can get value of a block parameter is already given using get_param function. However, I'm interested in finding possible valid values that the parameter accepts. For example, The Add block accepts any combination of + and - signs only for its Inputs parameter. Is there a way to programmatically figure out that information?
This page Block-specific Parameters lists some accepted and default values for parameters in the Values column of each table. Is there a way to find this information programmatically i.e. passing a block type/handler in some function and getting the validation rules for a particular parameter/all dialog parameters?
Thanks!

Réponses (0)

Catégories

En savoir plus sur Programmatic Model Editing dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by