chipKIT® Development Platform

Inspired by Arduino™

chipKIT UNO32 with Simulink

Created Wed, 27 Mar 2013 22:34:16 +0000 by alexlozano


Wed, 27 Mar 2013 22:34:16 +0000

Hi everyone! I've just bought my Uno32 board so I'm new to this community.

I've been trying to use the MATLAB / Simulink support for Arduino Uno with the Uno32 kit.

MATLAB worked just fine with the board, but I wasn't able to communicate using Simulink.

Basically, after installing the target (with targetinstaller) I tried to load the "Getting started" example, but Simulink displays an error message stating the board is unrecognized.

One of the suggested suggestions is to replace the FTDI driver with the "Arduino Uno" driver, but when I do that the device remains in conflict saying it can't be initialized.

Any ideas or previous experiences with it?

Thanks in advance!

Jacob Christ

Mon, 08 Apr 2013 05:39:09 +0000

The links you provided don't have a lot of information on the mechanics of the process. Is there sketch you have to load on the boards before you try to establish communications that may not be working correct?



Wed, 14 Jan 2015 16:51:36 +0000

Simulink access is handled differently than with the normal matlab setup. With matlab you load a sketch that turns the arduino into a server of sorts. The matlab script then talks to the arduino via serial to instruct the server in specific tasks, and receives info the same way.

With simulink, the code is built out in a block diagram and then compiled along with a loader. The embedded C code is then loaded directly onto the arduino without the arduino IDE.

The difficulty seems to be that the chipset is different than the standard UNO and thus a custom chipset must be defined. I'm trying to do this myself but have had no luck.