Need some help regarding embedded systems.

1 view (last 30 days)
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.

Accepted Answer

Walter Roberson
Walter Roberson on 21 Dec 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 Comment
Walter Roberson
Walter Roberson on 23 Dec 2011
You may also wish to use Embedded Coder, http://www.mathworks.com/products/embedded-coder/ . This requires MATLAB Coder or Simulink Coder

Sign in to comment.

More Answers (0)

Categories

Find more on Code Generation and Deployment in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!