Filter löschen
Filter löschen

Difference between RTW Info and CoderInfo?

6 Ansichten (letzte 30 Tage)
Vivek
Vivek am 19 Feb. 2014
Bearbeitet: Vivek am 19 Feb. 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)

Antworten (0)

Kategorien

Mehr zu Verification, Validation, and Test finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by