How to change the order of sections in a .mlx file?
28 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
William Davies
le 18 Fév 2021
Commenté : Duncan Carlsmith
le 23 Avr 2024 à 12:37
Is it possible to change the order of sections in a .mlx file? For example, in Jupyter notebook I can drag cells up and down to change the order of cells.
Thank you!
0 commentaires
Réponse acceptée
Adam Danz
le 18 Fév 2021
Modifié(e) : Adam Danz
le 19 Fév 2021
The ol' fashion copy-paste is the only way I know of.
I wouldn't be eager to support the ability to drag and drop blocks of code. Sometimes blocks of code can be run independently from any other block which would be safe to move within the file. But it's common for there to be variables defined or manipulated between several blocks which could cause giant headaches if drag-and-dropped without additional changes.
2 commentaires
Duncan Carlsmith
le 23 Avr 2024 à 12:37
I strongly support the ability to drag and drop sections of code plus text in the Live Script Editor. I often cannot drag over a whole section for reasons unknown in order top copy paste. Sometimes it seems limited because a figure is embedded. Other times, I dunno why. So copy-paste has to be done bit by bit and the process is daunting and error prone .
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Integration with Online Platforms dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!