Path: news.mathworks.com!not-for-mail
From: "Arkadiy Turevskiy" <aturevsk@mathworks.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Snapshot of a system
Date: Thu, 3 Jul 2008 17:51:02 +0000 (UTC)
Organization: MathWorks
Lines: 52
Message-ID: <g4j3i6$1rs$1@fred.mathworks.com>
References: <18b287ae-2242-475b-9a86-4981b68341f1@l64g2000hse.googlegroups.com>
Reply-To: "Arkadiy Turevskiy" <aturevsk@mathworks.com>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1215107462 1916 172.30.248.38 (3 Jul 2008 17:51:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 3 Jul 2008 17:51:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 779229
Xref: news.mathworks.com comp.soft-sys.matlab:477426



sathishvijay <sathish.vijayaraghavan@gmail.com> wrote in 
message <18b287ae-2242-475b-9a86-
4981b68341f1@l64g2000hse.googlegroups.com>...
> Hi
> 
> I am trying to take snapshot of a model (only few 
subsystems). I tried
> thro report generator, but am not able to define the 
confined number
> of system for which I need the snapshots. It is either 
taking only the
> top level system or goes and captures every subsystems.
> 
> Please let me know how to take snapshot of only few 
selected
> subsystems. Thanks in advance.
> 
> Regards
> Sathish
> Bangalore, INDIA

Hi Sathish,
The simplest report setup file (.rpt file) to do what you 
want would look like this:

Model Loop 
     System Loop
                System Snapshot

In System Loop component select "Custom -use system list:" 
from "Loop on System" menu.

In the white entry box replace %<gcs> with %<list>

Now all you need to do is define subsystems you want to 
include snapshots of in a cell array "list". For example, 
for f14 model, say you only want to report on two 
subsystems, "Controller", and "Nz pilot calculation".

 >> list={'f14/Controller', 'f14/Nz pilot calculation'};

Now run the report and you'll get snapshots of 
only "Controller" abd "Nz pilot calculation" subsystems.

Hope this helps.
Arkadiy Turevskiy
The MathWorks