Using the Quanser System

bullet

Start MatLAB
bullet

Type wc_run in the " Command Window".

bullet

WinCon Server should start up.

bullet

From WinCon Server.
bullet

Click on the "Go to Simulink icon.

bullet

From the Simulink Library Browser.
bullet

From file menu create a new model.

bullet

Drag the following from the Simulink Library Browser's, Quanser Toolbox to your new Model Window.

Note:  The Quanser I/O board that most of our computers use is the Quanser Consulting MultiQ-PCI Series.  We do have one different board, and for that computer, use the Quanser Consulting MQ3 Series sub-folder instead.

 
bullet

Analog Input.

bullet

Analog Output.

bullet

Time-Base (MQ3 only).

bullet

Anything pertaining to your project.

bullet

From the Simulink Library Browser's Simulink folder, select the Sinks sub-folder.
bullet

Drag a Scope to the Model Window.  It must be there or an error will be generated.

bullet

Wire blocks in the Model Window together.

bullet

Double click on the Model Window icons to change settings such as a channel number.

bullet

From model window under WinCon menu
bullet

Select Clean

bullet

Select Options
bullet

Under "Solver Options" within the "Solver" tab select Fixed-sep & ode5 (Dorman-Prince) for type then click "OK".

bullet

Build (you should see the Command Window running commands).

bullet

A start button should appear on the WinCon Server.

bullet

Press "START"