create a matlab project in MS Teams
15 次查看(过去 30 天)
显示 更早的评论
I'm trying to learn how to use matlab projects, as well as system composer and requriements. I want to store the files on a Teams channel. Is there a step by step example of how to setup the file structure (and in what order) using Teams? I've tried by creating a channel with teams, and getting the link url to it, but when i input that url into the 'create from blank' or 'create from file folder' inside matlab, it returns errors.
0 个评论
回答(3 个)
Nicholas
2025-4-23
Hi Michael,
I'm not sure if this is best practice.
I spent a lot of time trying to use OneDrive for my working Matlab project directory. I encountered numerous issues regarding error messages, write-protection/acess control issues, etc. These seemed to be even worse when trying to use git for version control.
Rather than continuing to raise helpdesk tickets, I moved my working Matlab directory locally and now use git to push to an internal "remote" repository (one of our company network drives).
If your company has a DevOps solution (Gitlab or Azure DevOps) then I think this could be configured as your "remote" for your project and possibly added as a Tab in a Teams Channel:
Josh Kahn
2025-4-23
MATLAB Projects have strong integration with Git where you have benefits such as branch management, and native diff/merge capability which will work much better for collaboration:
Integrating with a CI/CD environment also lets you automate tasks such as model checking and testing to make sure that only approved and passing changes are merged into the main branch.
If your hesitation to using GitHub or GitLab is that users might not be pushing and pulling their changes, you could also set that up as a project startup script (always pull the latest from the server so that the user can merge in the latest changes).
I recommend against the workflow you are describing, where Teams and One Drive act as an automated source control system. Anyone editing the file will be relying on one-drive to sync the changes and you will run into unresolvable merge conflicts and overridden files.
To answer the question you were asking, the Sync button in Teams creates a mirror copy on your computer:

When you press that, you should be able to find a local mirrored folder in explorer in the left-hand navigation, it should be something like: C:\Users\myusername\myorg\myteamschannelname
Hope that helps,
Josh
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!