It is easy, you may just follow https://en.wikibooks.org/wiki/MATLAB_Programming/Differences_between_Octave_and_MATLAB#:~:text=Both%20MATLAB%20and%20Octave%20have,control%20from%20the%20Octave%20prompt.
Dear Muhammad Ali I noticed that your answers are always links. When people ask questions they may need detailed guidance on RG. We all need to learn. There seems to be a growing trend to manipulate RG scores by “answering questions.” This is a lot like manipulation of citations. If that’s the case, then that’s the surest way to render RG useless.