How do I collaborate on matlab?
291 views (last 30 days)
Show older comments
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 Comments
Wonsup Lee
on 20 Jun 2020
Now we have the Matlab Drive. You know already, right?
mathworks.com/products/matlab-drive.html
Walter Roberson
on 20 Jun 2020
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.
Answers (4)
Micke Malmström
on 28 Aug 2018
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...
0 Comments
Jan
on 18 May 2018
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 Comments
Esteban Soto
on 11 May 2021
Because it uses a LOT less bandwidth than discord, so I can finish my homework with someone with a very poor conection in latin america, maybe thats why.
Kleberson Lima
on 28 Jan 2022
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
on 18 May 2018
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 Comment
Dave
on 7 Jul 2023
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 codete.com (https://codete.com/blog/pair-programming-pros-cons-best-practices), some key advantages include:
- Enhanced code quality: With two developers working together, the code undergoes more thorough review, leading to fewer defects and bugs.
- Knowledge sharing: Pair programming facilitates the exchange of ideas, best practices, and experiences, promoting learning and a broader understanding of the codebase.
- Faster problem-solving: Combining the expertise of two individuals allows for more efficient and immediate problem resolution.
- 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.
- 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.
- 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.
See Also
Categories
Find more on Platform and License in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!