To run Simulink® models on your Android™ device, you must grant execute permission on the
folder located inside the installation folder of Android Studio.
To grant execute permission on a Mac:
Open the Mac terminal window.
In the terminal, navigate to the
gradle folder, which is
located inside the Android Studio installation folder on your computer. For example,
cd /Applications/Android Studio.app/Contents/gradle
chmod -R +x *. This command adds execute permission to
all files and folders inside the
To grant execute permission in Windows®:
Open Windows Explorer and right-click the
which is located inside the Android Studio installation folder on your computer.
Select Properties. In the gradle Properties window, click the Security tab.
To change the permissions, click Edit.
From the Group or user names box, select your group or user name.
From the Permissions for <User or Group> box, select the Allow option for Read & execute permission.
Click Apply. Click OK to close the dialog box.