Skip to content
This repository was archived by the owner on Feb 17, 2023. It is now read-only.

Setting Up Development PC

danielbennettagility edited this page Oct 24, 2018 · 3 revisions

Requirements

  • Windows 10
  • MATLAB 2017b
    • MATLAB 9.3
    • Simulink 9.0
    • Simscape 4.3
    • Simulink Coder 8.13
    • Simulink Real-Time 6.7
    • (Optional) Symbolic Math Toolbox 8.0
  • Supported Compiler (https://www.mathworks.com/support/compilers.html)
    • Microsoft Visual C++ 2015 Professional

Installing Software

TODO

Configuring MATLAB

Configuring Simulink Real-Time Explorer

Configure and open the Simulink Real-Time Explorer target PC setting by running the following commands in the MATLAB command prompt.

addTargetPC
slrtexplr

This will add a target PC with the name CassieV3 to the Simulink Real-Time Explorer. Once the Simulink Real-Time Explorer opens, right-click CassieV3 and select set as default target.

Configuring Compiler

Verify that a supported compiler (https://www.mathworks.com/support/compilers.html) is installed and MATLAB can find it by running the following command in the MATLAB command prompt.

mex -setup

Configuring USB to Ethernet Adapter

The USB to Ethernet adapter is used for Host to Target PC communication within MATLAB. The following instructions outline the required steps to get this working:

  • Plug the USB to Ethernet Adapter into the development computer
  • Open the Network and Sharing Center
  • Click Change adapter settings in the left window pane
  • Locate the USB adapter from the list and right-click and select properties
  • Configure the adapter settings as follows
    • Uncheck the Internet Protocol Version 6 (TCP/IPv6) checkbox to disable it
    • Configure the adapter to have a static IP address
      • Double-click Internet Protocol Version 4 (TCP/IPv4)
      • Check the Use the following IP address radio button
      • Set IP address to 10.10.10.100
      • Set Subnet mask to 255.255.255.0
      • Click OK
    • Click OK

Clone this wiki locally