share folders using matlab drive
you can collaborate with others and allow them to view and edit your files by sharing folders from matlab® and matlab drive™ online. you can share a folder by inviting individual members to have access to the folder or by sharing a link to the folder.
when you send someone a personal invitation to a shared folder, they can preview it and add it to their files. they can also edit its contents if you grant them permission to do so. when you send someone a view-only link, they can preview it and add it to their files, but not edit it. previewing and adding shared folders to your files can only be done in matlab drive online and requires a mathworks® account.
to share a folder from matlab, you must be running matlab r2019b or later, matlab drive connector must be running, and the folder you choose to share must be in your matlab drive. if you are working in , you do not need matlab drive connector to share folders since sharing is always enabled.
share folder by personal invitation
you can share a folder from matlab and matlab drive online by sending a personal invitation. sharing a folder by personal invitation allows you to give others both view and edit permission to your files. to send an invitation:
right-click the folder and select share > invite members. if you have already shared the folder by personal invitation, select manage members instead. in matlab drive online, you also can click the share button and select from the available options.
in matlab online, you also can select the preview button to the right of the folder, and in the share section, select from the available options.
in the invite section of the invitation, enter the email addresses of the people that you want to share this folder with. to share the folder with multiple people, enter multiple email addresses and separate them with semicolons or commas.
select can view to share the folder as a read-only folder or can edit to allow invited members to edit its contents. if you want to share the folder with multiple people using different permissions, send each invitation separately.
optionally, enter a message to include with the invitation.
click send. matlab drive sends an email to the people you have invited.
change member permission
once you personally invite someone to share a folder, you can change their folder permissions from matlab and matlab drive online. for example, if you invite someone to share a folder as a read-only folder, you can change their permissions to allow them to edit its contents.
to change the folder permissions for an invited member, right-click the shared folder and select share > manage members. in the shared with section, next to the address of the invited member, select a different folder permission. then, click save to update the permissions.
in matlab drive online, you also can click the share button and select manage members. in matlab online, you also can select the preview button to the right of the folder, and in the share section, select manage members.
revoke personal invitations
once you personally invite someone to share a folder, you can revoke their access.
to revoke access, right-click the shared folder and select share > manage members. click the x next to the name of the member to revoke shared access.
in matlab drive online, you also can click the share button and select manage members. in matlab online, you also can select the preview button to the right of the folder, and in the share section, select manage members.
share folder with view-only link
you also can share a folder from matlab and matlab drive online by creating and distributing a view-only link to the folder. sharing a folder using a view-only link gives others view permissions to your files. to create and distribute a view-only link to a folder:
right-click the folder and select share > create link. click create a view-only link to create the link. if you have already created a view-only link for the folder, select manage link instead. in matlab drive online, you also can click the share button and select from the available options.
in matlab online, you also can select the preview button to the right of the folder, and in the share section, select from the available options.
click copy link to copy the link to the clipboard.
distribute the link to others, for example, by including it in an email.
remove shared link
to remove access to a shared folder from a view-only link, right-click the shared folder and select share > manage link. click delete link and confirm the deletion by clicking delete.
in matlab drive online, you also can click the share button and select manage link. in matlab online, you also can select the preview button to the right of the folder, and in the share section, select manage link.
members who gained access to the folder using the link will no longer have access to it, and anyone who tries to use the link in the future gets an error. deleting the link does not cause any change in access to those who received a personal invitation to the shared folder. to change their access, see change member permission.
access folders shared with you
you can get access to a shared folder by receiving either a personal invitation or a view-only link. when you receive an invitation or a link, you can preview the contents of the shared folder. then, to view and open the contents of the folder, and to edit them if permitted, add the folder to your files.
preview folder shared by personal invitation
when you are personally invited to a shared folder, you receive an email with a link to the invitation. click view folder in the invitation to open the pending invitation in matlab drive online.
to view all of your pending invitations in matlab drive online, click shared content on the left side of the page.
when the invitation opens, matlab drive online displays a preview of the shared folder. you can navigate the structure of the shared folder and preview individual files. you must be logged in with your mathworks account to preview the folder. to view and open the contents of the folder, and to edit them if permitted, add the folder to your files.
preview folder shared by view-only link
when you receive a view-only link to a shared folder, open the link to preview it in matlab drive online. when the preview opens, you can navigate the structure of the folder and preview individual files. previewing a folder shared by link does not require a mathworks account. to view and open the contents of the folder, add it to your files.
you can also forward the link to others. to get a new copy of the link, click share link. in the share by link dialog box, click copy link to copy the link to the clipboard.
add shared folder to your files
to view and open the contents of a folder shared with you, and to edit them if permitted, add the folder to your files. you can add a folder to your files either by creating a shortcut to the shared folder, or by creating a copy of the shared folder that is only visible and accessible to you.
to create a shortcut to the shared folder, in the matlab drive online folder preview, click the add to my files button and select add shortcut. to create a copy of the shared folder that is only visible and accessible to you, click the add to my files button and select copy folder. matlab drive adds the folder to your files and opens the files view. you must be logged in with your mathworks account to add a shared folder to your files.
if you have matlab drive connector installed, the connector syncs the contents of the added shared folder to your local drive.
manage shared folder
if you have edit permissions to a shared folder, you can edit its contents, as well as move, rename, and delete the folder itself.
matlab online and matlab drive online indicate shared folders using the shared folder icon . if you have matlab drive connector installed, the connector indicates shared files in the activity section by displaying shared below the file name. if you do not have edit permissions for the shared file, the connector displays a padlock icon .
edit shared folder
if you have edit permissions to a shared folder, you can edit the contents of the files and folders within that folder. you can edit the files in matlab online, or, if you have matlab drive connector installed, you can edit the files on your local drive. as you and other members of the folder make changes, the connector keeps the shared folder on your local drive up-to-date.
warning
it is possible that other participants with edit permissions are also editing the same files as you are. if this occurs, the most recently saved copy overwrites any other saved copies.
you cannot edit a shared file if you do not have edit permissions for the shared folder. if you do not have edit permissions for a shared file, matlab drive connector displays a padlock icon below the file name in the activity section.
move or rename shared folder
you can move a shared folder to a new location within your matlab drive. if you have edit permissions to a shared folder, you also can move or rename its contents. you can move or rename the folder in matlab drive online and, if you have edit permissions to the folder, from matlab.
if you move or rename a shared folder:
the folder is moved or renamed only for you.
others with access to the shared folder do not see the changes. this is true even if you are the owner of the shared folder.
if you have edit permissions for a shared folder, you can move or rename content inside it. when you move or rename content inside a shared folder, the moved or renamed content is moved or renamed for all members of the folder.
note
if you move one shared folder into another, the one that you move takes on the permissions of its new parent. for example, if a member can edit the parent folder, they can now edit the folder that you move into it.
delete shared folder
you can delete a shared folder in your matlab drive. if you have edit permissions to a shared folder, you can also can delete its contents. you can delete the folder from matlab drive online and, if you have edit permissions to the folder, from matlab.
if you delete a shared folder:
matlab drive deletes the folder and its contents only from your matlab drive.
all others with access to the folder, whether by personal invitation or view-only link, continue to have access to it.
the folder no longer counts towards your storage quota.
if you have edit permissions for a shared folder, you can delete content inside it. when you delete content inside a shared folder:
matlab drive deletes the content from your matlab drive and for all other members of the folder.
the content no longer counts towards your storage quota.
permanently delete shared folder
when you delete a shared folder or its contents, matlab drive moves the deleted items to your deleted files folder. you then can choose to permanently delete those items from your matlab drive.
note
matlab drive permanently deletes content (including shared folders) in your deleted files folder after 30 days or if your deleted files folder is over the deleted files storage quota.
if you permanently delete a shared folder from your deleted files folder:
the folder and its contents are permanently deleted only from your matlab drive.
all others with access to the folder continue to have access to it.
if you are the owner of the shared folder, then the folder becomes ownerless. when a folder is ownerless, no new members can gain access to the folder, whether by personal invitation or view-only link. in addition, matlab drive deletes all pending invitations to access the folder.
if you permanently delete content from a shared folder:
the content is permanently deleted from your matlab drive and for all members of the folder.
you cannot permanently delete content from a shared folder that has active members with edit permissions to the folder.
sharing limitations
there are limits on how many folders you can share, how many people you can share each folder with, and how much data your matlab drive can hold.
user sharing limitations
you can have up to 100 shared folders in your matlab drive. this total includes folders shared by you (regardless of whether others have accepted your invitation) and folders shared by others that you have added to your files. sub-folders in shared folders are not included in this limit.
if you reach the limit of 100 shared folders:
you cannot share additional folders.
you cannot add additional shared folders to your files.
if you receive an invitation to access a shared folder, you can preview the files but you cannot add a shortcut to the folder to your files. you can, however, create an unshared copy of the folder and add it to your files. to create an unshared copy of the folder, in matlab drive online, select the folder, click the add to my files button, and select copy folder.
folder sharing limitations
the number of people that you can share a folder with depends on whether you have an eligible matlab license that is current on software maintenance service.
if you have an eligible matlab license:
you can share a folder with 1,000 people using a view-only link and with an additional 100 people using a personal invitation.
if you do not have an eligible matlab license:
you can share a folder with 10 people using a view-only link and with an additional 10 people using a personal invitation.
after you have reached your limit for personal invitations you cannot invite others to share that folder. if a member leaves the shared folder or declines the invitation to access the shared folder, then you can send additional invitations.
when sharing a folder using a view-only link, when the number of people accessing the link reaches the folder maximum, others who try to use that link cannot access the folder.
storage quota limitations
when you add a shared folder to your files, the content of that shared folder is included as part of your total storage allotment, regardless of whether you have edit or read-only permissions to the folder. if a member of the folder adds or deletes content, your storage allotment updates accordingly.
if you exceed your maximum storage allotment:
others with edit permissions can add content to your shared folders, but you cannot.
you cannot add additional folders to your files or create new invitations or shared links to a folder.
for more information, see .