Why cant i get my Arduino mega ADK to work with simulink?

4 vues (au cours des 30 derniers jours)
Carlyle Hickman
Carlyle Hickman le 18 Juil 2016
Evert time i try to run external i get the following message(s):
The call to realtime_make_rtw_hook, during the entry hook generated the following error: Could not automatically set the host COM port for your Mega 2560 board. This may be due to a disconnected or unrecognized board.
If the board is not connected to your host computer, connect it and let Windows install the board driver.
If the board is connected, update the board driver. Open Windows Device Manager and locate the board either in Other Devices or in COM Ports. Right-click on the board and select 'Update Driver Software...' Next, select 'Browse my computer for driver software'. Specify the search location as C:\MATLAB\SupportPackages\R2014a\arduino-1.0.5\drivers and click 'Next'.
If Windows still cannot automatically set the COM port for your board, set it manually. In your model, click 'Tools', click 'Run on Target Hardware', and click 'Options...' In the dialog that opens, change 'Set host COM port' to 'Manually' and the set the 'COM port number' to match the port number in Windows.
The build process will terminate as a result.
Could not automatically set the host COM port for your Mega 2560 board. This may be due to a disconnected or unrecognized board.
If the board is not connected to your host computer, connect it and let Windows install the board driver.
If the board is connected, update the board driver. Open Windows Device Manager and locate the board either in Other Devices or in COM Ports. Right-click on the board and select 'Update Driver Software...' Next, select 'Browse my computer for driver software'. Specify the search location as C:\MATLAB\SupportPackages\R2014a\arduino-1.0.5\drivers and click 'Next'.
If Windows still cannot automatically set the COM port for your board, set it manually. In your model, click 'Tools', click 'Run on Target Hardware', and click 'Options...' In the dialog that opens, change 'Set host COM port' to 'Manually' and the set the 'COM port number' to match the port number in Windows.
can somebody help me understand why? cheers
  1 commentaire
Walter Roberson
Walter Roberson le 18 Juil 2016
What happens if you follow those instructions?

Connectez-vous pour commenter.

Réponses (1)

adeel usmani
adeel usmani le 10 Août 2020
I am having same issue. Did you resolve this problem?

Catégories

En savoir plus sur Arduino Hardware dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by