sfunction builder - changing discrete state format
조회 수: 1 (최근 30일)
이전 댓글 표시
I am using an s-function builder to write the code and please let me know how to resolve these below issues.
1# I wanted to change the format (data type attributes) of discrete states, to lets say boolean_T or int16_T, but it is getting picked up as real_T.
2# Again, even though I am using data type attributes for Input & Output ports as boolean format, but I see it is not taken as boolean while simulating in Matlab. Ex: Out = ~IN; where IN = 0, OUT shows 255 rather than 1
3. If I select data type attributes for Input/Output ports as lets say signed, WordLenth=16, Fraction as 10. I get Build Error as :- Reference to non-existent field 'compilerName'. Component: S-function Builder | Category: Build error
Thanks in advance for your solution/s.
댓글 수: 0
답변 (1개)
Ginny Zhang
2017년 1월 24일
hello,did you solve this problem ,it is {. If I select data type attributes for Input/Output ports as lets say signed, WordLenth=16, Fraction as 10. I get Build Error as :- Reference to non-existent field 'compilerName'. Component: S-function Builder | Category: Build error}。
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!