请问你是怎么样实现MATLAB与单片机之间的收发数据的呢?
我是用自制的BDM,外加一个NRF24L01接数据,,,XS128单片机+一个NRF24L01发数据,用串口调试助手,能接到数据,,,请问那么我用MATLAB读取串口的函数,老是出现:
“??? Error using ==> serial.fopen at 72
Port: COM1 is not available. No ports are available.
Use INSTRFIND to determine if other instrument objects are
connected to the requested device.”
请教的呢
使用INSTRFIND,出现这个
Instrument Object Array
Index: Type: Status: Name:
1 serial open Serial-COM1
2 serial closed Serial-COM1
3 serial closed Serial-COM1
4 serial closed Serial-COM1
5 serial closed Serial-COM1
请问你是怎么样实现MATLAB与单片机之间的收发数据的呢?
我是用自制的BDM,外加一个NRF24L01接数据,,,XS128单片机+一个NRF24L01发数据,用串口调试助手,能接到数据,,,请问那么我用MATLAB读取串口的函数,老是出现:
“??? Error using ==> serial.fopen at 72
Port: COM1 is not available. No ports are available.
Use INSTRFIND to determine if other instrument objects are
connected to the requested device.”
请教的呢