- What type of target hardware are you using? Note that since 2018a, custom target IO hardware is not supported for Simulink Real-time anymore. Only SpeedGoat is now officially supported. From my experiences, this could lead to strange and unreliable behaviour. I have also had trouble getting custom industrial computers working under SLRT 2019a. My typical issue was that it booted with the SLRT logo, but no info started to display about found CPU and IP settings... If it displays the command line type of info in the bottom right about IP and stuff, then that's good at least. SpeedGoat hardware has always worked immediately for me.
- Are you using a local network? Or even better, a direct link between host and target PC? This should at least allow you to ping the target. You set the IP correctly, for the Ethernet port (not mistaken the Wifi link for example, stupid suggestion I know, but to be sure)?
Cannot Set up Simulink Real Time
21 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hello All!
I've been trying to run simulink real time for more than 12 hours without any successful attempt. Below are the attempts I've done in details:
Note I'm Using Matlab 2019a
- Attempt 1 - Simulink Ethernet Connection: I've connected my laptop (Dell Latitude 7490) which is the host to the target (Dell OptiPlex 7060 Micro) using ethernet cable. Then in "Control Panel\Network and Internet\Network Connections" I modified the ipv4 settings to the following : IP Address : 192.168.10.200 , Subnet Mask: 255.255.255.0 and Default Gateway to 192.168.10.1 . Afterwards I ran slrtexplr in Matlab command window. The settings I chose for my TargetPC1 are IP Address : 192.168.10.201 , Subnet Mask: 255.255.255.0 , Port:22222 , Default Gateway to 192.168.10.1. Bus Type:PCI , Ticked both USB and Graphics Mode , and boot mode is "Network". Afterwards (having the target PC on) I pressed on "Create Boot Disk" , restarted my target and got a prompt that detected the IP with MAC address correctly. Pinging to this using CMD and trying to use (slrttest) both returned failure in pinging.
- Attempt 2 - Simulink Removable Disk: With the same setup as the Ethernet Connection I only changed Boot Configuration to removable disk and created boot disk. Afterwards (doing proper bios changes) I connected the USB to the target PC and Simulink Interface page opened (black screen with simulink logo). I tried doing ethernet connection with the PC while its running from the USB but the pinging failed and I have no idea how I can send the simulations to the target machine.
- Attempt 3 - DOS Loader: For this attempt I used Rufus to download FreeDOS on the USB. Afterwards I went to the project and built it (it returned an error that it cannot find the target) nevertheless I got the .mldatx file. Then I went back to the slrtexplr page I changed the boot mode to "DOS Loader" and got the files on the USB. To the files I added the .mlxdatx file , booted the target from the USB and ran autoexec.bat. This gave the exact same black page with Simulink Logo without anything running.
Note I'm Using Matlab 2019a and I'm using the default Simulink Real Time project template however I replaced the stuff inside with a Pulse Generator and a Real Time Scope.
Thank You !
12 comentarios
Timothy
el 24 de En. de 2020
Hasan Abed Al Kader Hammoud, did you receive an answer from technical support? Were they able to help? I am trying to setup a SLRT target PC in R2017b and getting only a black screen as well.
Respuestas (0)
Ver también
Categorías
Más información sobre Target Computer Setup en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!