Problems with slrttest in the reboot

7 Ansichten (letzte 30 Tage)
Yuta
Yuta am 28 Nov. 2023
Kommentiert: Yuta am 13 Sep. 2024
Hello, I'm trying to connect to a custom target computer via a LAN cable at MATLAB/Simulink R2017b, but when I run the srttest an error comes out:.
## Simulink Real-Time Test Suite
### Host-Target interface is: TcpIp
### Test 1, Ping target computer 'TargetPC1' using system ping: ... OK
### Test 2, Ping target computer 'TargetPC1' using SLRTPINGTARGET: ... OK
### Test 3, Software reboot the target computer 'TargetPC1': error: slrttest (line 181)
message: "The input string format is not correct."
source: "mscorlib"
181 error( booterror.message );

Akzeptierte Antwort

Namnendra
Namnendra am 13 Sep. 2024
Hi Yuta,
The error you're encountering with `slrttest` in Simulink Real-Time indicates an issue with the "Software reboot" test. This could be due to several reasons related to network settings, configuration, or compatibility.
Steps to Troubleshoot and Resolve the Issue
1. Check Target Configuration:
- Ensure that the target computer is correctly configured in Simulink Real-Time Explorer. Verify the IP address, hostname, and connection settings.
2. Network Configuration:
- Verify that the network settings on both the host and target computers are correct. Ensure that the LAN cable is properly connected and that there are no IP address conflicts.
- Check for any firewall settings or security software on the host computer that might block communication.
3. Simulink Real-Time Version Compatibility:
- Ensure that the version of Simulink Real-Time on your host matches the version on the target. Mismatches can cause communication errors.
4. Update MATLAB and Simulink:
- If possible, ensure you have the latest updates for MATLAB R2017b. Sometimes, bugs are fixed in updates.
5. Check for Corrupt Files:
- The error message mentions "mscorlib", which is part of the .NET framework. Ensure that your .NET installation is not corrupt. If necessary, repair or reinstall the .NET framework.
6. Test with a Simple Model:
- Try deploying a very simple Simulink model to the target to see if the error persists. This can help determine if the issue is model-specific.
7. Manual Reboot:
- If the software reboot fails, try manually rebooting the target computer to see if it resolves the issue.
8. Review Error Logs:
- Check any available logs on the target computer for more detailed error messages. These logs might provide additional insights into what might be causing the issue.
Additional Considerations
- Simulink Real-Time Documentation: Review the Simulink Real-Time documentation for any specific setup instructions or known issues related to your version.
- Network Environment: If possible, test the setup in a different network environment to rule out network-specific issues.
By following these steps, you should be able to identify and resolve the issue with the `slrttest` reboot error.
Thank you.
  1 Kommentar
Yuta
Yuta am 13 Sep. 2024
Thank you so much for providing such a detailed troubleshooting guide. Your clear steps have really helped clarify the path forward for resolving the issue. The advice on checking network settings and version compatibility seems particularly useful. I’ll follow the steps and continue working towards a solution. Your support is truly appreciated!!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Real-Time Simulation and Testing finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by