How to simultaneously network boot with two different targets

1 view (last 30 days)
Hello,
I'm trying to network boot two different target machines running two different simulink models. I am hoping to configure the network boot once and then allow the targets to connect to the network boot server any time either one restarts.
Following the instructions from the network boot page, it appears that only one target can be set to network boot at a time. I'm wondering if it is possible to allow for two targets to network boot at any given time?
Current setup (On the same system)
Matlab1 sets up to network boot Target1
target_object1 = SimulinkRealTime.getTargetSettings('Target1');
setAsDefaultTarget(target_object1);
SimulinkRealTime.createBootImage(target_object1);
Matlab2 sets up to network boot Target2
target_object2 = SimulinkRealTime.getTargetSettings('Target2');
setAsDefaultTarget(target_object2);
SimulinkRealTime.createBootImage(target_object2);
This does not seem to allow for both targets to network boot, only the last Matlab to run will allow for its target to boot. Is there a way to configure the network boot server to communicate with multiple targets / MAC addresses, or any other alternative method to allow for multiple target network boots? I'm hoping only to configure each Matlab once and to avoid having to reconfigure the specific Matlab to network boot the specific target each time any target resets.
I'm using Matlab 2019b, Windows 10
Bonus question
Is there a way to specify the location of a previously created network boot batch file?

Answers (0)

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!