Difference between revisions of "User:DukeEgr93/DSPACE"

From PrattWiki
Jump to navigation Jump to search
 
Line 8: Line 8:
 
# In CD, go to File->New Experiment
 
# In CD, go to File->New Experiment
 
#*Give the experiment a name, decide where you want all the files to go for the Working root, add author information and a description; when completed, the Experiment tab will have the name of the experiment as well as a .cdd link.
 
#*Give the experiment a name, decide where you want all the files to go for the Working root, add author information and a description; when completed, the Experiment tab will have the name of the experiment as well as a .cdd link.
# Click on the Platform tab, right click Simulink, and Open Matlab - the first time MATLAB is started on a computer it will take quite some time to start up.
+
# Click on the Platform tab, right click Simulink, and Open Matlab - the first time MATLAB is started on a computer it will take quite some time to start up. When ready, the Simulink logo in the Platform window will be in color
 +
# Within the new MATLAB window, type <code>simulink</code>
 +
# In Simulink, go to File->New->Model; when the model comes up, save it inside the folder you chose when creating the experiment
 +
# In the model's window, go to Simulation->Configuration Parameters
 +
#* Solver: make sure to use a fixed-step solver; change the Fixed-step size if need be
 +
#* Hardware Implementation: choose the Motorola 32-bit PowerPC; this will make the Byte ordering "Big Endian" and the Signed integer division rounds to "zero."

Revision as of 19:34, 21 July 2008

This is a personal sandbox for using the dSpace systems in Hudson 149. Several parts of it will move to the main site eventually.

General Startup

The following describes how to begin an experiment from scratch. More information will be provided later on how to reload an already-completed experiment.


  1. Start dSpace ControlDesk (CD)
  2. In CD, go to File->New Experiment
    • Give the experiment a name, decide where you want all the files to go for the Working root, add author information and a description; when completed, the Experiment tab will have the name of the experiment as well as a .cdd link.
  3. Click on the Platform tab, right click Simulink, and Open Matlab - the first time MATLAB is started on a computer it will take quite some time to start up. When ready, the Simulink logo in the Platform window will be in color
  4. Within the new MATLAB window, type simulink
  5. In Simulink, go to File->New->Model; when the model comes up, save it inside the folder you chose when creating the experiment
  6. In the model's window, go to Simulation->Configuration Parameters
    • Solver: make sure to use a fixed-step solver; change the Fixed-step size if need be
    • Hardware Implementation: choose the Motorola 32-bit PowerPC; this will make the Byte ordering "Big Endian" and the Signed integer division rounds to "zero."