Community
cancel
Showing results for 
Search instead for 
Did you mean: 
CMatt3
Novice
1,448 Views

Intel Edison - Simulink Support Package

Introduction

Our startup Abstrana just added basic support for Intel Edison to Matlab/Simulink and decided to share it with the maker community.

Installation

 

  1. Download the Hardware Support Package here: http://www.abstrana.de/21-2/produkte/ http://www.abstrana.de/21-2/produkte/

     

  2. Extract the downloaded .zip folder into your Matlab path and include all the folders and subfolders in your Matlab directory using "Set Path".
  3. Open Simulink and create a new model.
  4. Click "Model Configuration Parameters" and select the tab "Code generation".
  5. One you clicked "Browse…", you can now select "edison.tlc - Intel Edison Target".
  6. When selected, an additional option pane "Target" will appear in the left sidebar. Here you have to put your SSH settings. Please make sure, you have a working connection between your host and your target. Additional information can be found on the Intel Edison webpage.
  7. Make sure, your current MATLAB path is the demo folder of the support package.
  8. From now on, you can either open the sample application in the demo folder or just run your own model by pressing the "Deploy to hardware"-button.
  9. To run your application on the Edison, just type ./Simulink in the Putty command window.
  10. To run the example, simply connect a toggle to pin J20-5 and a LED to pin J20-4.

License

If you are a private person without comercial interests, feel free to use/modify/extend this hardware support package for Simulink.

4 Replies
VVela
New Contributor I
109 Views

Very cool. I may be needing this. Does this allow programming of the MCU by any chance?

Thanks.

CMatt3
Novice
109 Views

Does this allow programming of the MCU by any chance?

Yes, it actually does. The Intel Edison is already running an operating system, so there is no need to integrate one via Simulink.

The C-Code generated from the Model acts like a normal application in linux.

Once generated in Matlab/Simulink, the C-Code is automatically transmitted via SSH to the Edison and gets compiled there.

TDzei
Novice
109 Views

Very interesting!

I've three brief questions:

Do I need a Matlab Stateflow license too?

Do you supply I2C and SPI blocks?

What are the limitations of your "basic support"?

Many thanks in advance.

ARobe11
Beginner
109 Views

Hello,

For some reason, I do not have the "Code Generation" option. I have Matlab 2015b and I have the Matlab coder license. Do you know how I can work around this issue?

Thanks

Reply