Need some help regarding embedded systems.

3 vues (au cours des 30 derniers jours)
i Venky
i Venky le 19 Déc 2011
I did some character recognition using image processing. Then I pronounced those words using microsoft inbuilt text to speech application. I did these using MATLAB. Now I want to embed. I don't know anything about embedding. How should I do it?
Thanks in advance.

Réponse acceptée

Walter Roberson
Walter Roberson le 21 Déc 2011
To create an embedded system:
If your code is pure MATLAB, you need MATLAB Coder.
If you have Simulink blocks, you need Simulink Coder.
Both MATLAB Coder and Simulink Coder produce C / C++ code, which can then be compiled with an appropriate compiler for the platform, and the executable can then be loaded in to the embedded system.
There are a lot of restrictions on what can or cannot be compiled by the two Coder products. Relatively few of the toolkits are supported.
If your calculations involve floating point arithmetic, you will, more likely than not, need to replace it with fixed point arithmetic such as using the Fixed Point Toolkit. The majority of embedded processors do not support floating point, as full floating point support takes a lot of room on a chip. Some processors (e.g., some TI processors) have single precision floating point instructions. ARM, MIPS and Motorola (PowerPC) do produce embedded systems with double precision, but the most wide-spread embedded chips probably have no floating point at all.
You may well find that your program requires a Real-Time Operating System (RTOS) to handle multiple resources. MS Windows is not designed for RTOS work.
  1 commentaire
Walter Roberson
Walter Roberson le 23 Déc 2011
You may also wish to use Embedded Coder, http://www.mathworks.com/products/embedded-coder/ . This requires MATLAB Coder or Simulink Coder

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by