MATLAB SIMULINK FIXED POINT 6 Manuale Utente Pagina 11

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 16
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 10
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
TargetLink Data Types Application Note September 2004
11
■■■■■■■■■■I
▲■
■■■■■■■■■■■■■■
Signal Data Types of TargetLink blocks
As stated before, TargetLink blocks behave differently than
corresponding Simulink blocks with regard to non-double data types.
Simulink blocks support numerous inheritance schemes, and for many
blocks the signal output can be set explicitly, which in turn influences
the type of the input signals.TargetLink blocks generally emit doubles
and accept any nonscaled type at their inputs. However, some
TargetLink blocks deviate from this in specific details. In any of these
cases, the different behavior might result in models which cannot be
initialized after Simulink-to-TargetLink conversion.
The following list provides some details. “All Simulink types” means
int8, int16, ..., single, double, boolean
. “Scaled signals
accepted” means that signals which are scaled in Simulink can be fed
into the block. “Same as Simulink” means that the block behaves
exactly like the corresponding Simulink block. The Typecast column
indicates whether the block supports the
Cast output signal to
TargetLink type
feature.
Nr Block Type Input(s) Output(s) Typecast Remarks
1
Abs
All Simulink
types
double Yes
2
Assignment
Same as
Simulink
Same as
Simulink
No
3
Constant
- According to
type of
Constant value
No
4
Counter/Alarm
double double No
5
Custom Code
All Simulink
types
double No
6
D Flip-Flop
All Simulink
types
double Yes
7
D Latch
All Simulink
types
double Yes
8
Data Store Memory
- - No
9
Data Store Read
Same as
Simulink
Same as
Simulink
No
Vedere la pagina 10
1 2 ... 6 7 8 9 10 11 12 13 14 15 16

Commenti su questo manuale

Nessun commento