Effacer les filtres
Effacer les filtres

Difference between RTW Info and CoderInfo?

6 vues (au cours des 30 derniers jours)
Vivek
Vivek le 19 Fév 2014
Modifié(e) : Vivek le 19 Fév 2014
AbcSignal = mpt.Signal; AbcSignal.DataType = 'uint8'; %Resolution: 0.0078125 AbcSignal.Description = 'Calculated xyz'; AbcSignal.Complexity = 'real'; AbcSignal.Dimensions = 1; AbcSignal.SamplingMode = 'Sample based'; AbcSignal.SampleTime = -1; AbcSignal.InitialValue = '0'; AbcSignal.Min = 0; AbcSignal.Max = 255; AbcSignal.DocUnits = 'Liters/Sec';
when I run the above mfile in R2012b/R2013, I found that
AbcSignal
AbcSignal =
mpt.Signal handle
Package: mpt
Properties:
CoderInfo: [1x1 Simulink.CoderInfo]
Description: 'Calculated xyz'
DataType: 'uint8'
Min: 0
Max: 255
DocUnits: 'Liters/Sec'
Dimensions: 1
DimensionsMode: 'auto'
Complexity: 'real'
SampleTime: -1
SamplingMode: 'Sample based'
InitialValue: '0'
Methods, Events, Superclasses
But when I load the same Mfile in earlier versions version(R2010b), I found the field name CoderInfo is missing, instead of that there is a field named RTWInfo.
Could any tell what is that and why is this difference. Because of this problem I couldn't able to run my simulink model(Compatible with R2010b) in latest versions(R2012/13)

Réponses (0)

Catégories

En savoir plus sur Verification, Validation, and Test dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by