How to configure S-Function Builder from command line?
7 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
The graphical interface used to configure S-Function builder is nice. However, for larger projects it makes code maintainance hard.
It might be better to have scripts that can be ran to configure several S-Functions inputs, outputs, states, parameters sizes and types automatically all at once.
How would I configure, for example, number of inputs, name, type and size and dimension of an S-Function builder from the command line?
Thanks, Jose Ospina
0 commentaires
Réponse acceptée
TAB
le 15 Fév 2013
Modifié(e) : TAB
le 15 Fév 2013
Get S-function builder data with
appdata = sfunctionwizard(BlockHandle,'GetApplicationData');
Use appdata.SfunWizardData to read and write field data of S-function builder.
You can use sfunctionwizard to build the s-function builder from matlab command.
4 commentaires
TAB
le 22 Fév 2013
I am not sure whether it is available in 2007B (I don't have 2007b to check this).
If it is not there in 2007b then you can use Legacy Code Tool. Legacy code tool is available in R2007b.
Plus de réponses (1)
kiyoko
le 24 Juil 2018
sfunctionwizard is undocumented and not officially supported. If you are looking for command-line s-function authoring functionality, then the legacy code tool is designed for this.
0 commentaires
Voir également
Catégories
En savoir plus sur Configure Block Features for MATLAB S-Functions 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!