photo

Charles Wang


Active since 2011

Followers: 0   Following: 0

Message

Professional Interests: Embedded programming

Statistics

Feeds

View by

Question


How to declare a global variable in a large Simulink model?
In c-code to declare a global variable is very easy. But I found that it was not so easy in a large Simulink model with several ...

13 years ago | 4 answers | 0

4

answers

Question


How to add libraries to RTW Custom Files?
In Simulink "Configuration Parameters" window, under "Real Time Workshop\Custom Code" then "Include list of additional", one can...

13 years ago | 0 answers | 0

0

answers

Question


Stateflow event will start a new process?
When adding code on a transit between two nodes in a stateflow chart, one can mix statements with events such as a trigger to a ...

13 years ago | 0 answers | 1

0

answers

Question


How to implement this c-code: if(Flag == 1) {Flag = 0;} ?
I used a signal (this is what I needed) for Flag at an input port of stateflow, but Flag is not recognized inside the stateflow....

13 years ago | 1 answer | 0

1

answer