How do I collaborate on matlab?

조회 수: 703 (최근 30일)
Denali Chin
Denali Chin . 2018년 5월 18일
댓글: Dave . 2023년 7월 7일
Is it possible for multiple people to work on the same file at the same time on Matlab online? I want to share my file with someone but I don't know how.
  댓글 수: 2
Walter Roberson
Walter Roberson 2020년 6월 20일
MATLAB Drive is, however, not collaborative in itself -- people get the revised version of the file when it is saved, instead of the file being changed as people type.

댓글을 달려면 로그인하십시오.

답변 (4개)

Walter Roberson
Walter Roberson 2018년 8월 28일
No, this is not a facility supported by MATLAB Online.

Micke Malmström
Micke Malmström 2018년 8월 28일
I would also like to be able to work simultaneously on the same file. Just as one can in google docs or office 365... it really is convenient to not have to copy texts back and forth...

Jan 2018년 5월 18일
Is this meaningful? What do you want to happen, when 2 persons modify the same line of code? Even if different lines are modified, the code has no consistent state anymore. But if you want a mutual exclusive access, github might be sufficient already.
  댓글 수: 12
Kleberson Lima
Kleberson Lima 2022년 1월 28일
Yes. This is do profitable, for exemple to pair programming remotely.
I think the colleague is asking about a colloborative way to develop as is possible in VS Code, Eclipse IDE, Atom editor etc.
Git is a different thing.

댓글을 달려면 로그인하십시오.

sloppydisk 2018년 5월 18일
Well, MATLAB does have source control integration , so you could use it with Git for example. Otherwise you could just use any file sharing service, although that is prone to conflicted copies.
I don't think there is a good reason to want to type in the same file at the same time, but you could do it with something like Google Docs of course. In general it is better to split the project up or collaborate through discussion.
  댓글 수: 1
Dave 2023년 7월 7일
While it's true that pair programming may not be suitable for every situation, there are valid reasons why typing in the same file at the same time can be advantageous. Research and industry experiences have shown that pair programming brings several benefits. According to an article on (, some key advantages include:
  1. Enhanced code quality: With two developers working together, the code undergoes more thorough review, leading to fewer defects and bugs.
  2. Knowledge sharing: Pair programming facilitates the exchange of ideas, best practices, and experiences, promoting learning and a broader understanding of the codebase.
  3. Faster problem-solving: Combining the expertise of two individuals allows for more efficient and immediate problem resolution.
  4. Greater resilience: Pair programming ensures that at least two people are familiar with a specific part of the codebase. This mitigates the risk of unexpected disruptions or delays in the project due to staff turnover.
  5. Faster training: Pair programming provides an excellent opportunity for junior or new team members to learn from more experienced colleagues. It accelerates the onboarding process and promotes knowledge transfer within the team.
  6. Better team morale: Pair programming offers the chance to collaborate and problem-solve with a partner, enhancing communication and empathy. This leads to a more productive and happier team overall.
While splitting projects or collaborating through discussion can be effective approaches in some cases, pair programming offers unique benefits that can significantly enhance teamwork, code quality, resilience, training, and team morale.

댓글을 달려면 로그인하십시오.


Help CenterFile Exchange에서 Trading Technologies에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by