Simulink (Embedded Coder) Target for Ben NanoNote
Matlab Objective-C C
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


This is a custom Embedded Coder Target for Ben NanoNote, small but capable computing device.
See for more details about this device.
See for more info about Simulink/Embedded Coder.

Steps to install:
1) Download OpenWrt toolchain tailored for Ben NanoNote here:
Choose the file which name starts with "OpenWrt-Toolchain-xburst..." and suitable for your architecture (i686 or x86_64).
Alternatively, build your own toolchain following the steps here:

2) Run in MATLAB command prompt:
The STAGING_DIR is required for OpenWrt-based toolchain. It seems that STAGING_DIR is only required if you are usign the Openwrt toolchain from Openwrt build root (directory).

3) Add an entry to /etc/hosts to avoid using Ben NanoNote IP (for your convenience).
Set up a passwordless login for Ben NanoNote:
ssh ben 'cat >>/etc/dropbear/authorized_keys' <~/.ssh/
Verify that you can login into Ben by typing "ssh ben" (or whatever name you gave it) in your shell.
Run in MATLAB command prompt:

4) Add 'nanonote' directory and subdirectories to your MATLAB path.
Run 'sl_refresh_customizations' or restart MATLAB.

You may have a look at nanonote_setup.m for examples of steps 2-4.

Supported features of this target support package:
- Generate Standalone executables (not real time) to run on Ben
- PIL (Processor-in-the-Loop) Simulation:
 * Top level PIL
 * Model Block PIL
 * Subsystem PIL
- PIL execution profiling
- External mode

- Required MathWorks products:
 * Simulink
 * Embedded Coder