How to read text block from live script?
5 次查看(过去 30 天)
显示 更早的评论
Does Matlab have functions to parse an mlx file, or parse the current open live script?
This is what I would like to do:
- Create a text block in a livescript
- Read the contents of that text block to a string variable within the same live script
Is something like this possible?
0 个评论
回答(1 个)
Cris LaPierre
2021-7-15
To the best of my knowledge, this is not possible. One workaround may be to use an edit field in one of your code blocks.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Environment and Settings 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!