In order to ensure SimITK/VTK is properly integrated, open MATLAB and from under the File menu, choose “Set Path…”. Click “Add with Subfolders…” and choose the \bin folder within your SimITK or SimVTK (or both). After pressing “Save” in the open dialog box, SimITK/VTK is ready for use. Examples are included in the unzipped SimITK\Examples or SimVTK\Examples directories.
Opening the Simulink Library Browser
- Before doing anything, make sure the current directory in Matlab is set to the directory
that contains the Simulink models. If not, you can easily change it using the current
directory filed on the desktop toolbar:
- In Matlab type: Simulink. The Simulink Library Browser should open up in a new window.
Opening One of the Built SimITK/SimVTK Libraries
- From the Simulink Library browser click on File > Open.
- Choose one of the libraries (Simulink model) and double click on it. For example: SimITKLibrarySS3D.
A window like this should appear:
Creating a Model Using the Blocks in the Library
- From the Simulink Library browser click on File>New>Model.
- Drag the blocks you need from the library window to the model window.
- Double click on each block to set the parameters.
- Connect the blocks together. One way to do this is to click on the source block
and then hold down the Ctrl key while left clicking on the block you want to connect it
Snapshot of interface (click to enlarge):
> Continue onto the Spine Segmentation tutorial.
> Continue onto the Multimodal Spine Registration tutorial.
> Continue onto the Volume Rendering tutorial.
> Continue onto the Surface Model and Volume Rendering Overlay tutorial.