sfunction builder - changing discrete state format
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (1)
Ginny Zhang
am 24 Jan. 2017
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 Kommentare
Siehe auch
Kategorien
Mehr zu Author Blocks Using S-Function Builder 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!