Why do I get a "Target IP Address is empty" error when I try to connect to Speedgoat hardware from a deployed SLRT app?
Show older comments
I've created a hand-written Simulink Real-Time (SLRT) app in App Designer to control my Speedgoat hardware. In my app code, I create a target object as follows:Then, I compiled the SLRT app into a standalone application using MATLAB Compiler. I can successfully run this standalone app on the computer where I designed it. But when I try to deploy it to another computer that is connected to a Speedgoat target, I get an error saying:
app.tg = slrealtime;
"Error communicating with target 'TargetPC1': Cannot connect
to target 'TargetPC1': Target IP Address is empty.
Why am I getting this error and how can I fix it so I use this standalone application on another host computer?
Accepted Answer
More Answers (0)
Categories
Find more on System Configuration in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!