Matlab m-file with multiple inputs

I’m very rusty with Matlab. I have written a function that takes in a few inputs and saved it as an m file.

Then I define the inputs in the command line, but when I run the m file it doesn’t recognize the inputs (coding them into the m-file itself negates this problem). I think I might be entering the inputs incorrectly, and it’s starting with fresh commands with each line.

I’ve searched the internet for help, but alas…not much.

Thanks in advance.

whoa. i’m an idiot. figured it out.