Starting in R2019b, if you want other people to be able to view or edit your files, you can share the folder in MATLAB and control the file permissions. You can share a folder by inviting individual members to have access to the folder or by sharing a link to the folder.
To share a folder from MATLAB®, MATLAB Drive Connector must be running and the folder you choose to share must be in your MATLAB Drive™. If you are working in MATLAB Online™, you do not need MATLAB Drive Connector to share folders since sharing is always enabled.
For more information about sharing with MATLAB Drive, including limitations, see the MATLAB Drive documentation.
To share a folder by invitation, in the Current Folder browser, right-click the folder and select Share > Manage Members. You can select to share with view-only or can-edit permission for each person individually. To enter several addresses at one time, use a semi-colon or comma separator. You can only do this if they all have the same access level.
People you invite to a shared folder in this way will receive an email invitation. They must accept the invitation to have access to the shared folder. When inviting individual participants, you can make changes to each member's access at any time after the initial invite.
To share a folder with a view-only link, in the Current Folder browser, right-click the folder and select Share > Manage Link. Click Copy Link to copy the link to the clipboard.
In MATLAB Online, to share a folder that you have not shared before by invitation, right-click the folder and select Share > Invite Members. To share a folder by link, right-click the folder and select Share > Create Link.
You can rescind invitations to a shared folder when you no longer want the content to be shared. To rescind an invitation, right-click the shared folder and select Share > Manage Members. Click the X next to each member name to delete shared access. Changing the access of invited members does not change access for people who joined using a shared link.
To remove access to a shared folder from a view-only link, right-click the folder and select Share > Manage Link. Then, Click Delete Link.
People who joined using the link will no longer have access to the shared folder, and anyone who then clicks the link gets an error. Deleting the link does not cause any change in access by members who received personal invitations.
When you are personally invited to a shared folder, you will receive an email invitation. After you accept the invitation, you can view the shared folder in the Current Folder browser.
When you are provided with a link to a shared folder, click the link and an invitation shows up in MATLAB Drive online. When you accept the invitation, the shared folder appears in the Current Folder browser.