create a matlab project in MS Teams

15 views (last 30 days)
Michael Sanders
Michael Sanders on 22 Apr 2025
Commented: Michael Sanders on 23 Apr 2025
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.

Answers (3)

Nicholas
Nicholas on 23 Apr 2025
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:
  1 Comment
Michael Sanders
Michael Sanders on 23 Apr 2025
Moved: Star Strider on 23 Apr 2025
Nicholas.
thanks for the information. I get that using MSFT for some of these things is inherantly problematic :). Still hoping I can get an approach to using sharepoint and/or teams to store files, as that would (theorectically) allow for multiple user collaberation, without the potential synchronizatoin issue of always putting something in git, and then pulling back down the newer version, etc. From an MBSE perspective, this seems a must.
Michael

Sign in to comment.


Josh Kahn
Josh Kahn on 23 Apr 2025
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

Michael Sanders
Michael Sanders on 23 Apr 2025
Josh
thanks for the feedback. To clarify a bit, if I was using the project for code development, absolutely agree that Git is the much better approach. I'm looking instead to have less code development, as opposed to using System Composer and the Requirements toolboxes, which say they require a project, but should be more text based. Now, i'm still learning what the details of composer, etc really do, but given that its supposed to be MBSE capable, I want a place to hold documents, a project plan,etc. I'm concerned that a relatively non technical person might be more 'intimidated' by using a Git, as opposed to teams.
I did try the synch button, but i still got errors when trying to create the matlab project. That may be a IT issue on my side, but I cant seem to find (yet) any concrete documentation, either in the Microsoft world, or Mathworks..
thanks again.
Michael
  1 Comment
Michael Sanders
Michael Sanders on 23 Apr 2025
and (as i hit submit a bit quick), is there any Mathworks docs on setting up integration to Azure Dev Ops?
thanks

Sign in to comment.

Categories

Find more on System Composer in Help Center and File Exchange

Products


Release

R2024b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!