Simulink real-time setup with no target computer

6 次查看(过去 30 天)
I am going through the setup process for Simulink Real-Time as outlined in the help documentation. Everything seems to install properly, except for the target communication. For my setup, the development computer will also be the computer the real-time application is run from, so I don't have a target computer. Simulink keeps giving errors though saying it can't find a target computer.
What is the proper way to set this up and build my model to run a real-time application on the same computer I'm developing the application?
I've also gone through the example of "Create and Run Real-Time Application from Simulink Model", but it hits errors because it's always looking for a Target Computer, even when I change the Scope type to "Host".
Thanks!

回答(1 个)

Jon Lobo
Jon Lobo 2016-12-6
This will not be possible with Simulink Real-Time as it requires a 2 computer setup (Windows PC for developing Simulink model and a dedicated computer to run the real-time application). (See: http://www.mathworks.com/help/xpc/gs/product-description.html)
If you require only a single computer setup, you might want Simulink Desktop Real-Time.

Community Treasure Hunt

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

Start Hunting!

Translated by