MATLAB DATABASE TOOLBOX RELEASE NOTES Guide de l'utilisateur Page 86

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 298
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 85
3 Simulink 4.1 Release Notes
3-4
Modeling Enhancements
This section describes enhancements to Simulink’s dynamic system modeling
tools.
Autorouting Option Added to add_line Command
The add_line command now optionally routes lines around intervening blocks
and annotations. For example, the following command autoroutes a connection
between two blocks in the
vdp model.
add_line('vdp','Product/1','Mu/1','autorouting','on')
The autorouting option is off by default. See add_line in Using Simulink for
more information.
S-Function Builder
The S-Function Builder generates an S-function from specifications that you
enter in a dialog box. It provides an easy way for you to incorporate existing
code into a Simulink model.
add_param, delete_param
With this version, you can add custom parameters to your block diagrams.
add_param('modelname','MyParameterName','value')
delete_param('modelname','MyParameterName')
You can also use the model handle in place of the model name. See add_param
and
delete_param in Using Simulink for more information.
Connection Callbacks
With this version, you can use set_param to set callbacks on ports that are
triggered by changes in the ports’ connectivity. The callback function
parameter is named
ConnectionCallback. When the port’s connectivity
changes (addition/deletion of line connected to the port, connection of new block
to the port, etc.), Simulink invokes the callback function with the port handle
as its argument. See “Port Callback Parameters” in Using Simulink for more
information.
Vue de la page 85
1 2 ... 81 82 83 84 85 86 87 88 89 90 91 ... 297 298

Commentaires sur ces manuels

Pas de commentaire