what is the simulink coder equivalent to gcb()?

2 views (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)

Categories

Find more on Programmatic Model Editing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!