Borrar filtros
Borrar filtros

Difference between RTW Info and CoderInfo?

6 visualizaciones (últimos 30 días)
Vivek
Vivek el 19 de Feb. de 2014
Editada: Vivek el 19 de Feb. de 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)

Respuestas (0)

Categorías

Más información sobre Verification, Validation, and Test en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by