what is the simulink coder equivalent to gcb()?

1 view (last 30 days)
Randy
Randy on 6 Dec 2017
Commented: Randy on 6 Dec 2017
I need a function similar to gcb() that I can use within Simulink coder in the external mode. Does this exist?
  1 Comment
Randy
Randy on 6 Dec 2017
More information... I'm using coder to generate C files for inclusion into a larger project. The C API generator provides the rtBlockSignals[] structure. How can I get the currently executing Matlab function block's index into this structure?

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!