What's New in Vicon Nexus 2.1
        
 
 

MATLAB commands for use with Nexus

Information on the following commands is provided to help you to get started using MATLAB for modeling with Vicon Nexus 2:

     DisplayCommandList

     DisplayCommandHelp

DisplayCommandList

This method has been defined in the MATLAB class provided to display a list of commands. The MATLAB standard MethodsView command can be used to query method signatures on not only the top-level ViconNexus class but the underlying .NET assembly as well.

To obtain a list of commands for use with Nexus:

1.    At the command prompt, create an instance of the ViconNexus object (if you haven't already created one) to get access to its methods.

» vicon = ViconNexus()

2.    You can then call any of its defined methods or use the 'client' property to access the .NET assembly directly.

» vicon.DisplayCommandList()

A list of command names is displayed.

DisplayCommandHelp

You can display the help available for each command that can be used with Vicon Nexus.

To obtain help on each command that you can use with Nexus:

1.    At the command prompt, create an instance of the ViconNexus object (if you haven't already created one) to get access to its methods.

» vicon = ViconNexus()

2.    At the command prompt, enter:

» vicon.DisplayCommandHelp(’commandName’)

Where commandName is the command for which you want to display help.

For example, the following command displays help on GetTrajectory:

» vicon.DisplayCommandHelp('GetTrajectory')

The following information is displayed:

ans =

GetTrajectory Retrieve X, Y, Z values for the specified trajectory for all frames in the currently loaded trial.

Input Parameters

MarkerName = Name of a defined marker for the loaded subject

SubjectName = Name of the Subject that is loaded in to the Nexus workspace.

Output Parameters

E = Indication of whether or not the coordinate for a specific frame exists. A true value indicates that the data exists, a false value indicates that the data does not exist and the coordinate values do not contain valid data.

X = Array of X coordinates.

Y = Array of Y coordinates.

Z = Array of Z coordinates.

»