https://www.mathworks.com/products/matlab/live-editor.html Jupiter notebook perhaps? https://datascience-enthusiast.com/Miscellaneous/Jupyter_R_Python_Julia_Octave.html
https://www.mathworks.com/products/matlab/live-editor.html