Simulink link external devices fail

6 ビュー (過去 30 日間)
Xinyuan ZHANG
Xinyuan ZHANG 2019 年 7 月 24 日
回答済み: Urmila Rajpurohith 2019 年 8 月 21 日
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!

回答 (1 件)

Urmila Rajpurohith
Urmila Rajpurohith 2019 年 8 月 21 日
'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

カテゴリ

Help Center および File ExchangeModel Preparation for Real-Time Simulation についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by