How to read text block from live script?
Show older comments
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?
Answers (1)
Cris LaPierre
on 15 Jul 2021
0 votes
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.
1 Comment
Balázs Dura-Kovács
on 15 Jul 2021
Categories
Find more on Live Scripts and Functions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!