MATLAB: Need some help regarding embedded systems.

embedded matlabtext to speech

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.

Best Answer

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.
Related Question