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.
0 个评论
采纳的回答
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
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 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!