Live Script to define a class
조회 수: 28 (최근 30일)
이전 댓글 표시
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
채택된 답변
Prasanna Konyala
2022년 4월 27일
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
Samantha May
2023년 3월 7일
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?
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Whos에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!