MATLAB DATABASE TOOLBOX RELEASE NOTES Guia do Utilizador Página 120: RTWInfo Property Changes

/ 298
Índice
5

Real-Time Workshop 4.1 Release Notes

5-16

Upgrading from an Earlier Release

This section describes the upgrade issues involved in moving from the
Real-Time Workshop 4.0 (Release 12.0) to the Real-Time Workshop 4.1.
For information about upgrading from a release earlier than 4.0, see the
Release Notes for Release 12
.

RTWInfo Property Changes

If you use the Simulink Data Object classes
Simulink.Signal
or
Simulink.Parameter
, or have implemented classes derived from these, note
the following information concerning the
RTWInfo
properties.
In Release 12.0, the
RTWInfo
class had a
TypeQualifier
property,
corresponding to the
RTW storage type qualifier
field of signal ports and
parameters.
Real-Time Workshop 4.1 now supports creation of custom storage classes,
removing the need for the
TypeQualifier
property. We recommend that you
use custom storage classes when type qualification is needed. See “Custom
Storage Classes for Data Objects” on page 26-3 for further information.
By default, the
TypeQualifier
property of
RTWInfo
objects is no longer visible
in the Simulink Data Explorer. Also, the
TypeQualifier
property is no longer
written to
ObjectProperties
records in the
model
.rtw
file. For backward
compatibility, the
TypeQualifier
property remains active. The property can be
set and retrieved through a direct reference. For example,
Kp.RTWInfo.TypeQualifier = 'const'
or
tq = Kp.RTWInfo.TypeQualifier
You can make the
TypeQualifier
property visible in the Simulink Data
Explorer for the duration of a MATLAB session. To do this, execute the
following command prior to opening the Simulink Data Explorer),
feature('RTWInfoTypeQualifier',1)
The above command also directs the Real-Time Workshop to include the
TypeQualifier
property in
ObjectProperties
records in the
model
.rtw
file.

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