From: Eric Brewer on
"Arkadiy Turevskiy" <arkadiy.turevskiy(a)mathworks.com> wrote in message <hmjooc$mps$1(a)fred.mathworks.com>...
> To create a table of all inports and outports for each subsystem:
> - use System Loop component, in "Loop on Systems" select Custom -use system list and in the dialog box below put
> %<gcs>
>
> Then use Block Summary Table as a child component. In Block Summary Table component, close to the bottom in Loop Options check the box "Search for Simulink name/property value pairs".
>
> Add property/value pair. In property Name column type BlockType, in Property Value column type Inport.
>
> To repeat for the outports add another Block Summary table component, set all the options the same as above, but change Inport to Outport in property Value column.
> Arkadiy
>
>
> "Eric Brewer" <piano_man354(a)yahoo.com> wrote in message <hmjl0d$hgq$1(a)fred.mathworks.com>...
> > Hello all,
> > I am using the Simulink report generator, and I would like to document the properties contained in all the inports in a section "Inputs" and the outports in a section "Outputs". The 'signal loop' component allows me to select input or output signals, but the 'block loop' component does not. I tried puting a block loop inside a signal loop, but then it selects all the blocks connected to the signal. Is there a way to only generate tables for the inports/outports?
> >
> > I also tried to use an 'if' statement but I am not sure what variables that I need to compare. Is there a way to see all the available variables in a section?
> >
> > Sorry for so many questions....any help is appreciated.
> >
> > -Eric

That works great, thank you!