Difference between RTW Info and CoderInfo?
조회 수: 4 (최근 30일)
이전 댓글 표시
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)
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Function Creation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!