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 comentarios

Wonsup Lee
Wonsup Lee el 20 de Jun. de 2020
Now we have the Matlab Drive. You know already, right?
mathworks.com/products/matlab-drive.html
Walter Roberson
Walter Roberson el 20 de Jun. de 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.

Iniciar sesión para comentar.

Respuestas (4)

Walter Roberson
Walter Roberson el 28 de Ag. de 2018

2 votos

No, this is not a facility supported by MATLAB Online.
sloppydisk
sloppydisk el 18 de Mayo de 2018

1 voto

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 comentario

Trig
Trig el 7 de Jul. de 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:
  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.

Iniciar sesión para comentar.

Micke Malmström
Micke Malmström el 28 de Ag. de 2018

1 voto

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 el 18 de Mayo de 2018

0 votos

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 comentarios

Walter Roberson
Walter Roberson el 24 de Feb. de 2019
Aidan Abbott comments
unhelpful
Walter Roberson
Walter Roberson el 24 de Feb. de 2019
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 el 26 de Dic. de 2019
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 el 26 de Dic. de 2019
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 el 27 de Mzo. de 2020
Editada: Walter Roberson el 27 de Mzo. de 2020
Vs code Live Share but doesn't seem to work with matlab apps.
Eric Stevens
Eric Stevens el 5 de Mayo de 2020
Editada: Eric Stevens el 5 de Mayo de 2020
This answer is absurd. Ever used google docs cooperatively?
Walter Roberson
Walter Roberson el 5 de Mayo de 2020
Ever used google docs cooperatively?
No, I have not.
Jefta Pruim
Jefta Pruim el 10 de Abr. de 2021
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 el 10 de Abr. de 2021
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 el 11 de Mayo de 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
Kleberson Lima el 28 de En. de 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.

Iniciar sesión para comentar.

Categorías

Más información sobre External Language Interfaces en Centro de ayuda y File Exchange.

Preguntada:

el 18 de Mayo de 2018

Comentada:

el 7 de Jul. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by