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

Wonsup Lee
Wonsup Lee 2020년 6월 20일
Now we have the Matlab Drive. You know already, right?
mathworks.com/products/matlab-drive.html
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일

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

Trig
Trig 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 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

Walter Roberson
Walter Roberson 2019년 2월 24일
Aidan Abbott comments
unhelpful
Walter Roberson
Walter Roberson 2019년 2월 24일
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.
sagy gersh
sagy gersh 2019년 12월 26일
visual studio does this, and it doesnt pose any problem becuase the changes are real time, letter by letter.
not helpful at all
Walter Roberson
Walter Roberson 2019년 12월 26일
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.
Jonathan Mongeau
Jonathan Mongeau 2020년 3월 27일
편집: Walter Roberson 2020년 3월 27일
Vs code Live Share but doesn't seem to work with matlab apps.
Eric Stevens
Eric Stevens 2020년 5월 5일
편집: Eric Stevens 2020년 5월 5일
This answer is absurd. Ever used google docs cooperatively?
Walter Roberson
Walter Roberson 2020년 5월 5일
Ever used google docs cooperatively?
No, I have not.
Jefta Pruim
Jefta Pruim 2021년 4월 10일
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
Jan
Jan 2021년 4월 10일
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.
Esteban Soto
Esteban Soto 2021년 5월 11일
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
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.

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

카테고리

도움말 센터File Exchange에서 External Language Interfaces에 대해 자세히 알아보기

질문:

2018년 5월 18일

댓글:

2023년 7월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by