7

We have to develop control software to run in an embedded system. The prototype is made in Matlab (using neural network toolbox), and we want to port the software to C or C++. Do you know which libraries or software we could use to do this? Embedded matlab may be another option, but, from their info in the website, it seems that neural network toolbox is not supported. Any of you has worked with it before?

Nick T
  • 12,360
  • 2
  • 44
  • 71
joanlofe
  • 171
  • 3
  • 1
    @farshad, direct email is not what this site is for. You may ask questions on this site and get answers, but direct contact is not the goal, if he helps you in private no-one else learns. If it is something that only benefits you, well, you should probably hire someone. – Kortuk Mar 03 '11 at 06:59

2 Answers2

5

First dump it to C/C++, instructions here and profile the application on your computer. neural networks can be rather compute intensive so you need to know how much processing power and what type of processing you need (integer? FP? fixed point? SIMD? etc?).

If you need the network to be trainable while running on your embedded device, then you're stuck developing your own system as MatLab exported code doesn't including the training portions, perhaps based on some external neural network libraries. I would still start with profiling what you've got to get an idea of what class of device your looking at.

All that being said, the beagleboard is probably a safe bet unless what your doing is very compute intensive, it would also allow you to use most linux libraries. I used the FANN library for a project maybe 5 years ago and it was good to work with. I don't know if it will compile for ARM out of the box or if some other library has trumped it recently.

Toby Jaffey
  • 28,796
  • 19
  • 96
  • 150
Mark
  • 11,627
  • 1
  • 31
  • 38
1

If you're planning on porting the software to C/C++ anyway, you could run it on almost any embedded system with an operating system. You might start with an embedded Linux board, since it has free C and C++ compilers.

As far as the actual hardware goes, there are many choices. Take a look at the answers to this question for some suggestions. You might also consider the mbed, which is cheap, has a free C compiler, and is easy to get started with if you're new to embedded stuff.

pingswept
  • 12,581
  • 4
  • 46
  • 64