Running Matlab code on an industrial PC
Mostra commenti meno recenti
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?
Risposta accettata
Più risposte (1)
Fangjun Jiang
il 15 Dic 2011
1 voto
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.
Categorie
Scopri di più su COM Component Integration in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!