Live Script to define a class
12 次查看(过去 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 中查找有关 Live Scripts and Functions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!