Important changes to questions
We’re making some changes to Mbed Questions. From 10th December 2019 this site will be archived and new questions should be asked on our new forum site. Until that date you can continue to reply to existing questions here but can’t ask new questions.
2 years, 5 months ago.
No response from mbed [St nucleo - Matlab]
I'm having trouble to get my ST Nucleo F401RE talk to MATLAB. I've installed the ST Link v2 driver, so my device is recognizable, as it shows up in the device manager (Windows 7 64 bit). When I make a small program with the online mbed compiler, I can download the program and upload it to my Nucleo and it works fine.
Now I want to connect my board to Matlab so I can build a program with Simulink. I've downloaded the RPC class for Matlab, as described here: https://developer.mbed.org/cookbook/Interfacing-with-Matlab
When I try to connect my board to Matlab with the following code
mymbed = mbed.SerialRPC('COM5', 9600);
Then I get the following error:
Error using mbed.SerialRPC (line 94) No response from mbed - check it is plugged in and you are using the correct serial port
Although the Nucleo is plugged in and I am using the correct COM port.... The baud rate is set correct and so are the other parameters (parity, databits and stopbits)
Any ideas how to solve this? I've already tried different USB ports, another PC and different versions of Matlab (2016b and 2017a).
You need to log in to post a question