How do I collaborate on matlab?

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 个评论

Now we have the Matlab Drive. You know already, right?
mathworks.com/products/matlab-drive.html
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

2 个投票

No, this is not a facility supported by MATLAB Online.
sloppydisk
sloppydisk 2018-5-18

1 个投票

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 个评论

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:
  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.

请先登录,再进行评论。

Micke Malmström
Micke Malmström 2018-8-28

1 个投票

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
Jan 2018-5-18

0 个投票

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 个评论

Aidan Abbott comments
unhelpful
Aidan Abbott: in my opinion it asks a fair question about expectations, pointing out a potential problem, and it offers a potential work-around for the case where simulatenous modification is not needed. I would therefore judge it to be helpful.
visual studio does this, and it doesnt pose any problem becuase the changes are real time, letter by letter.
not helpful at all
Visual Studio itself does that? I was not aware that Visual Studio had built-in network services. It would make more sense to me if instead you were referring to documents shared by Microsoft Drive.
Vs code Live Share but doesn't seem to work with matlab apps.
This answer is absurd. Ever used google docs cooperatively?
Ever used google docs cooperatively?
No, I have not.
yes it is meaningful. Now with covid measures at least, if you wanna code with a partner on video call, it helps more than having to copy the code all the time / upload the files or something
Then a screen sharing seems to be more useful. If two persons edit the same file, they cannot see, where the otherone is changing the code until they reload the code. This is not intuitive.
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.
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.

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 External Language Interfaces 的更多信息

评论:

2023-7-7

Community Treasure Hunt

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

Start Hunting!

Translated by