- Check Drivers: Ensure the DSP board's drivers are properly installed on your system.
- MATLAB Packages: Use `supportPackageInstaller` to add the necessary MATLAB support packages.
- MATLAB Setup: Configure MATLAB's communication settings, such as the COM port for your DSP board.
- Test the Connection: Try MATLAB's `serialport`, `read`, and `write` functions to verify connectivity.
- Permissions: Make sure MATLAB has the required permissions to access USB ports.
matlab can't read usb port , and can't connect with the dsp board through read board, the dsp board is working and my laptop can detect, but in matlab it cannot read from dsp
10 views (last 30 days)
Show older comments
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/948719/image.png)
0 Comments
Answers (1)
Chetan
on 29 Dec 2023
It seems you're having trouble with MATLAB recognizing a USB-connected DSP board.
Here's a concise guide to address the issue:
For serial communication, you can use the serial or serialport function to create a serial port object. Here's an example:
% Replace 'COM3' with the actual COM port your DSP board is connected to.
s = serialport('COM3', 9600);
configureTerminator(s, 'LF'); % Or the appropriate terminator for your device
% Now you can read/write using the 'read' and 'write' functions.
Refer to the following MathWorks Documentation for more information:
0 Comments
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!