How to use Bluetooth Low Energy in a compiled application ?
I am trying to compile a Matlab Application using BLE communication into a standalone app. The application is compiled properly, without any errors, and can be launched, but each time I try to scan BLE devices using the function blelist, the application crashes.
I used the diary function to get the error message, and it says that " Bluetooth permission is not enabled for MATLAB. Allow MATLAB or Terminal to use Bluetooth from the Security & Privacy settings ". Of course, I allowed both Matlab and Terminal to use Bluetooth, but the errors still occurs and the application continues to crash.
I don’t know if I missed an application to add into the Bluetooth permissions, like an executable of Matlab Runtime ?
I work on macOs, if it can help.
Thanks for your help !I am trying to compile a Matlab Application using BLE communication into a standalone app. The application is compiled properly, without any errors, and can be launched, but each time I try to scan BLE devices using the function blelist, the application crashes.
I used the diary function to get the error message, and it says that " Bluetooth permission is not enabled for MATLAB. Allow MATLAB or Terminal to use Bluetooth from the Security & Privacy settings ". Of course, I allowed both Matlab and Terminal to use Bluetooth, but the errors still occurs and the application continues to crash.
I don’t know if I missed an application to add into the Bluetooth permissions, like an executable of Matlab Runtime ?
I work on macOs, if it can help.
Thanks for your help ! I am trying to compile a Matlab Application using BLE communication into a standalone app. The application is compiled properly, without any errors, and can be launched, but each time I try to scan BLE devices using the function blelist, the application crashes.
I used the diary function to get the error message, and it says that " Bluetooth permission is not enabled for MATLAB. Allow MATLAB or Terminal to use Bluetooth from the Security & Privacy settings ". Of course, I allowed both Matlab and Terminal to use Bluetooth, but the errors still occurs and the application continues to crash.
I don’t know if I missed an application to add into the Bluetooth permissions, like an executable of Matlab Runtime ?
I work on macOs, if it can help.
Thanks for your help ! bluetooth, standalone application, matlab compiler, matlab runtime, blelist MATLAB Answers — New Questions