The issue can be due to several factors ranging from network configuration, FPGA firmware setup, to MATLAB's configuration.
You can try out below possible troubleshooting steps to check if it resolve your issue:
- Ensure that the IP address you're using in your MATLAB command (`'DeviceAddress', '192.168.0.2'`) matches the IP address configured on the FPGA board. The FPGA board needs a static IP address that is reachable from the MATLAB host machine.
- Verify that both the MATLAB host machine and the FPGA board are on the same subnet, or appropriately routed so they can communicate.
- Try temporarily disabling the antivirus on your system as they sometimes block the commnication to see if the issue resolves.
- From your MATLAB host machine, try pinging the FPGA board's IP address (`ping 192.168.0.2`). Successful ping responses indicate that the network connection to the FPGA board is working at a basic level.
- Try a simple UDP test using MATLAB's basic UDP functions (`udpport`, `write`, `read`) to see if you can send and receive data to and from the FPGA's IP address without using `aximanager`. This can help isolate whether the issue is with the network setup or the specific `aximanager` setup.
Hope it helps you!