Live Script to define a class
27 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
CAME18
am 24 Apr. 2022
Kommentiert: Samantha May
am 7 Mär. 2023
Ever since I discovered Live Editor Scripts, I use them all the time. It is an excellent feature to correctly document a project. Currently it is not possible to define classes in a Live Editor script. Is this functionality under consideration for a future release?
1 Kommentar
Akzeptierte Antwort
Prasanna Konyala
am 27 Apr. 2022
Hi Camilo
Currently we are not supporting classes in Live Editor. Our developers are aware of this and it might be considered for a future release.
In addition, you can always define classes in normal ".m" files and then use the classes in live scripts or functions.
2 Kommentare
Samantha May
am 7 Mär. 2023
Hi,
you mentioned:
"you can always define classes in normal ".m" files and then use the classes in live scripts or functions"
How would I go about doing this?
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Live Scripts and Functions finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!