How to know if current codes are running from Live Script file

3 views (last 30 days)
Is there a function in MATLAB to show if the program code or a function is running from within a Live Script .mlx file or from within a plain .m file?
If the code runs from within an .mlx file , I want it to behave or act differently.
Thanks

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!