Simulink.NumericType vs. Simulink.AliasType
이전 댓글 표시
Hello,
I'm confused about the use of Simulink.NumericType and Simulink.AliasType objects in R2016b.
In the documentation of Simulink.AliasType there's the sentence "Alternatively, to define and name a numeric data type, you can use an object of the class Simulink.NumericType." - so what's the exact difference and what's the rule whether to use Simulink.AliasType or Simulink.NumericType?
For example, I'd like to have 2 variables, which define the global data type information for "speed" and "temperature", both having the data type uint8. Shall I have 2 Simulink.NumericType objects? Or 1 Simulink.NumericType object, which is referenced by 2 Simulink.AliasType objects?
Thanks a lot in advance
Thomas
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Fixed-Point Code Generation in MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!