MATLAB DATABASE TOOLBOX RELEASE NOTES Guia do Utilizador Página 233: TimerAction has been renamed

/ 298
Índice
Upgrading from an Earlier Release
19-5

Upgrading from an Earlier Release

This section describes the upgrade issues involved in moving the Instrument
Control Toolbox 1.0 (Release 12.0) to the Instrument Control Toolbox 1.1
(Release 12.1).

Events, Callbacks, and Function Handles

Action properties and action functions are now referred to as callback
properties and callback functions. This new terminology is reflected in new
names for the associated properties and functions. The general rule for the
name changes is to change “Action” to “Fcn” for properties, and “action” to
“callback” for functions. For example,
TimerAction
has been renamed
TimerFcn
, and
instraction
has been renamed
instrcallback
.
Additionally, if you want to automatically pass the object and event
information to the callback function, then you must specify the function as
either a function handle or as a cell array. Note that you can also specify the
callback function as a string. In this case, the callback is evaluated in the
MATLAB workspace and no requirements are made on the function’s input
arguments.

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