Nested structures to be used in S Functions from C

Hello,
I am trying to use a structure in the following form
struct btnode {
int count ;
intvalue[MAX + 1] ;
struct btnode *child[MAX + 1] ;
} ;
in S-functions made in C. However, since these structures need to be defined as Simulink Bus objects first, I am unable to do it
Any help would be appreciated.
-Dhruv

Answers (0)

Categories

Products

Asked:

on 9 Oct 2013

Community Treasure Hunt

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

Start Hunting!