Simulink link external devices fail

4 views (last 30 days)
Xinyuan ZHANG
Xinyuan ZHANG on 24 Jul 2019
Answered: Urmila Rajpurohith on 21 Aug 2019
Hi,
I'd like to control a servo motor through the simulink model and using analog input, output and encoder. The model is successfully build, but when I'd like to run the model ,there is the error which is''Error occurred while executing External Mode MEX-file 'sldrtext':Device not found.'' and 'Unable to connect to the 'Simulink Desktop Real-Time' target for 'voltage_2015a'. How can I solve my problem. Thank you!

Answers (1)

Urmila Rajpurohith
Urmila Rajpurohith on 21 Aug 2019
'Unable to connect to the 'Simulink Desktop Real-Time' target for 'voltage_2015a'.
It means the connector you are using is not supported by Simulink desktop Real time.
The below document provides the information related to hardware supported by Simulink Desktop real time
You can Check communication between the development and target computers using commands
You can refer to below documentation link for Troubleshooting Communication Failure with Target Computers

Tags

Community Treasure Hunt

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

Start Hunting!