Hello!
I understand that you want a keyboard shortcut for the MATLAB Live editor which makes a new section when you use the “Run and Advance” shortcut and reach the end of the file. In MATLAB Live Editor, Ctrl+Shift+Enter is the shortcut for “Run and Advance”, while the shortcut Ctrl+Alt+Enter is used to create a new section of code. I’m afraid there is no shortcut which can achieve both functionalities when the end of file is reached, as of R2023A.