Need some help regarding embedded systems.

3 次查看(过去 30 天)
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.

采纳的回答

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

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Code Generation and Deployment 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by