I found a solution to the above problem.
Solution: Restore Windows 11 back to Windows 10.
I am still unsure what the main problem is, but the above step worked for me.
Full explanation of the problem:
ble("deviceName")
would normally report back:
b =
ble with properties:
Name: "device name
Address: "address"
Connected: 1
..........
Show services and characteristics
and you could then use the MATLAB command prompt to do more work.
Since I updated to Windows 11, the arduino I would connect to would blink but I never had access to the command prompty after running the first line of code above. Restoring back to Windows 10 completely solved this.