Running Matlab code on an industrial PC
显示 更早的评论
At a remote site, we will have an industrial PC that must read incoming measurements and process them. Communication to the industrial PC will be unreliable so it must execute the code itself. I am presently writing an algorithm in Matlab to process the measurements. But getting the Matlab code to run in near real-time on the industrial PC is a new task for me and my coworkers. Questions:
- Can I simply install Matlab on the industrial PC and run my code?
- If not, what are the components of a basic stand-alone real-time system?
- How do I choose an industrial PC that can run my code fast enough? Can I run the code on my machine with simulated measurements to get metrics that will define what to look for in an industrial PC?
采纳的回答
更多回答(1 个)
Fangjun Jiang
2011-12-15
1 个投票
The xPC Target seems to be a good fit for this application. It boots up your PC with a real-time operating system. All your code or model developed in MATLAB/Simulink can be readily put into application executed on the PC. You don't have to guess or estimate how fast or slow when you deploy your application because you are running it right there. It supports many IO hardware cards too.
类别
在 帮助中心 和 File Exchange 中查找有关 COM Component Integration 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!