PrintSummary - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

BlockImporter

 PrintSummary
 print a summary of the system data structure

 Calling Sequence PrintSummary( sys, opts )

Parameters

 sys - record; system data opts - (optional) equation(s) of the form option = value; specify options for the PrintSummary command

Options

 • compact = truefalse
 Specifies how the elements of the fields of the data structure are printed. If true, then all the elements of a field are displayed on one line (which may wrap). If false, then each element is displayed on a separate line. The default is true.

Description

 • The PrintSummary command prints a summary of a BlockImporter data structure. This command is only for display, it returns NULL.
 • The sys parameter is a record of the data structure, which is defined in BlockImporter[datastructure].

Examples

 > $\mathrm{with}\left(\mathrm{BlockImporter}\right):$

Create an example of an imported data structure.

 > $\mathrm{sys}≔\mathrm{BlockImporter}:-\mathrm{Example}\left(\right)$
 ${\mathrm{sys}}{≔}{\mathrm{record}}{}\left({\mathrm{equations}}{,}{\mathrm{initialeqs}}{,}{\mathrm{inputvars}}{,}{\mathrm{notes}}{,}{\mathrm{outputvars}}{,}{\mathrm{parameters}}{,}{\mathrm{procs}}{,}{\mathrm{sourceeqs}}{,}{\mathrm{statevars}}\right)$ (1)

Print a summary of the data structure. By default the summary is printed in a compact form.

 > $\mathrm{PrintSummary}\left(\mathrm{sys}\right)$
 Equations [24]:
 State Variables [3]:
 Initial Equations [3]:
 Source Equations [2]:
 Input Variables [2]:
 Output Variables [1]:
 Parameters [2]:
 $\left[{{u}}_{{10}{,}{1}{,}{1}}{=}{{y}}_{{2}{,}{1}{,}{1}}{,}{{u}}_{{2}{,}{2}{,}{1}}{=}{{y}}_{{3}{,}{1}{,}{1}}{,}{{u}}_{{2}{,}{1}{,}{1}}{=}{{y}}_{{4}{,}{1}{,}{1}}{,}{{u}}_{{8}{,}{1}{,}{1}}{=}{{y}}_{{6}{,}{1}{,}{1}}{,}{{u}}_{{9}{,}{1}{,}{1}}{=}{{y}}_{{7}{,}{1}{,}{1}}{,}{{u}}_{{4}{,}{1}{,}{1}}{=}{{y}}_{{8}{,}{1}{,}{1}}{,}{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{D}}{}\left({{x}}_{{11}{,}{1}}\right){=}{-}{{K}}_{{0}{,}{"a2"}}{}{{x}}_{{11}{,}{1}}{+}{{u}}_{{11}{,}{1}{,}{1}}{,}{{y}}_{{11}{,}{1}{,}{1}}{=}{{x}}_{{11}{,}{1}}\right]$
 $\left[{{x}}_{{4}{,}{1}}{,}{{x}}_{{10}{,}{1}}{,}{{x}}_{{11}{,}{1}}\right]$
 $\left[{{x}}_{{4}{,}{1}}{}\left({0}\right){=}{0}{,}{{x}}_{{10}{,}{1}}{}\left({0}\right){=}{0}{,}{{x}}_{{11}{,}{1}}{}\left({0}\right){=}{0}\right]$
 $\left[{{\mathrm{Source}}}_{{\mathrm{Step}}{,}{6}{,}{1}}{=}\left\{\begin{array}{cc}{0}& {t}{<}{1}\\ {1}& {\mathrm{otherwise}}\end{array}\right\{,}{{\mathrm{Source}}}_{{\mathrm{Step}}{,}{7}{,}{1}}{=}\left\{\begin{array}{cc}{0}& {t}{<}{4}\\ {0.1}& {\mathrm{otherwise}}\end{array}\right\\right]$
 $\left[{{\mathrm{Source}}}_{{\mathrm{Step}}{,}{6}{,}{1}}{,}{{\mathrm{Source}}}_{{\mathrm{Step}}{,}{7}{,}{1}}\right]$
 $\left[{{\mathrm{Sink}}}_{{\mathrm{Scope}}{,}{5}{,}{1}{,}{1}}\right]$
 $\left[{{K}}_{{0}{,}{"a1"}}{=}{2.}{,}{{K}}_{{0}{,}{"a2"}}{=}{1.}\right]$ (2)

Use the compact = false option to print an expanded form.

 > $\mathrm{PrintSummary}\left(\mathrm{sys},\mathrm{compact}=\mathrm{false}\right)$
 Equations [24]:
 State Variables [3]:
 Initial Equations [3]:
 Source Equations [2]:
 Input Variables [2]:
 Output Variables [1]:
 Parameters [2]:
 ${{u}}_{{10}{,}{1}{,}{1}}{=}{{y}}_{{2}{,}{1}{,}{1}}$
 ${{u}}_{{2}{,}{2}{,}{1}}{=}{{y}}_{{3}{,}{1}{,}{1}}$
 ${{u}}_{{2}{,}{1}{,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}}_{{9}{,}{1}{,}{1}}{+}{{u}}_{{9}{,}{2}{,}{1}}$
 ${\mathrm{D}}{}\left({{x}}_{{10}{,}{1}}\right){=}{-}{{K}}_{{0}{,}{"a1"}}{}{{x}}_{{10}{,}{1}}{+}{{u}}_{{10}{,}{1}{,}{1}}$
 ${{y}}_{{10}{,}{1}{,}{1}}{=}{{x}}_{{10}{,}{1}}$
 ${\mathrm{D}}{}\left({{x}}_{{11}{,}{1}}\right){=}{-}{{K}}_{{0}{,}{"a2"}}{}{{x}}_{{11}{,}{1}}{+}{{u}}_{{11}{,}{1}{,}{1}}$
 ${{y}}_{{11}{,}{1}{,}{1}}{=}{{x}}_{{11}{,}{1}}$
 ${{x}}_{{4}{,}{1}}$
 ${{x}}_{{10}{,}{1}}$
 ${{x}}_{{11}{,}{1}}$
 ${{x}}_{{4}{,}{1}}{}\left({0}\right){=}{0}$
 ${{x}}_{{10}{,}{1}}{}\left({0}\right){=}{0}$
 ${{x}}_{{11}{,}{1}}{}\left({0}\right){=}{0}$
 ${{\mathrm{Source}}}_{{\mathrm{Step}}{,}{6}{,}{1}}{=}\left\{\begin{array}{cc}{0}& {t}{<}{1}\\ {1}& {\mathrm{otherwise}}\end{array}\right\$
 ${{\mathrm{Source}}}_{{\mathrm{Step}}{,}{7}{,}{1}}{=}\left\{\begin{array}{cc}{0}& {t}{<}{4}\\ {0.1}& {\mathrm{otherwise}}\end{array}\right\$
 ${{\mathrm{Source}}}_{{\mathrm{Step}}{,}{6}{,}{1}}$
 ${{\mathrm{Source}}}_{{\mathrm{Step}}{,}{7}{,}{1}}$
 ${{\mathrm{Sink}}}_{{\mathrm{Scope}}{,}{5}{,}{1}{,}{1}}$
 ${{K}}_{{0}{,}{"a1"}}{=}{2.}$
 ${{K}}_{{0}{,}{"a2"}}{=}{1.}$ (3)