<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://hades.mech.northwestern.edu//index.php?action=history&amp;feed=atom&amp;title=Using_the_Host_Scope</id>
	<title>Using the Host Scope - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://hades.mech.northwestern.edu//index.php?action=history&amp;feed=atom&amp;title=Using_the_Host_Scope"/>
	<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=Using_the_Host_Scope&amp;action=history"/>
	<updated>2026-04-07T05:19:43Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.9</generator>
	<entry>
		<id>https://hades.mech.northwestern.edu//index.php?title=Using_the_Host_Scope&amp;diff=3787&amp;oldid=prev</id>
		<title>Stephens at 18:42, 7 August 2006</title>
		<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=Using_the_Host_Scope&amp;diff=3787&amp;oldid=prev"/>
		<updated>2006-08-07T18:42:19Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;MATLAB implemented a &amp;quot;Host Scope&amp;quot; in version 2006a.  This is allows you to view scopes of real-time data from the target PC on the Host PC screen.  It is a little tricky to use, so here are some instructions:&lt;br /&gt;
&lt;br /&gt;
1.  Add a xPC scope to your model (from the xPC Target\Misc menu).  We will use the simple model below for instructional purposes.&lt;br /&gt;
&lt;br /&gt;
[[image:hostscope1.jpg|center]]&lt;br /&gt;
&lt;br /&gt;
2.  Double-click on the Scope to open the properties dialog.  Change the Scope type to &amp;quot;Host&amp;quot; and the Number of samples to something like 1000.&lt;br /&gt;
&lt;br /&gt;
[[image:hostscope2.jpg|center]]&lt;br /&gt;
&lt;br /&gt;
3.  Now build your model by pressing Ctrl-B.&lt;br /&gt;
&lt;br /&gt;
4.  Open xpcexplr&lt;br /&gt;
&lt;br /&gt;
5.  Right-click on &amp;quot;TargetPC1&amp;quot; on the left menu and click &amp;quot;Connect&amp;quot;.  The menu will expand.&lt;br /&gt;
&lt;br /&gt;
[[image:hostscope3.jpg|center]]&lt;br /&gt;
&lt;br /&gt;
6.  Expand the list to find xPC Scopes \ Host Scope(s) \ Scope: 1&lt;br /&gt;
&lt;br /&gt;
7.  Right click on &amp;quot;Scope: 1&amp;quot; and click &amp;quot;View Scope&amp;quot;.  This will open up the scope window.&lt;br /&gt;
&lt;br /&gt;
8.  Now you can start your model any way you like.  After the model has started, you will see the scope data displayed.&lt;br /&gt;
&lt;br /&gt;
To get better performance that suits your application, try adjusting the &amp;quot;Number of Samples&amp;quot; and &amp;quot;Decimation&amp;quot; values for the scope.&lt;/div&gt;</summary>
		<author><name>Stephens</name></author>
	</entry>
</feed>