MATLAB DATABASE TOOLBOX RELEASE NOTES Guia do Utilizador Página 86: Connection Callbacks

/ 298
Índice
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.

Ficheiro PDF · ·

Imprimir

Imprimir documento

Partilha

Perguntas sobre MATLAB DATABASE TOOLBOX RELEASE NOTES

Ainda não há perguntas sobre este manual. Faça a primeira.

Fazer uma pergunta

Respondemos a partir do manual e indicamos a página. A pergunta é publicada no site depois de verificada.

Todas as perguntas e respostas ›

Manuais e produtos relacionados com Software MATLAB DATABASE TOOLBOX RELEASE NOTES