# MATLAB: What does this error means-“Function definitions are not permitted at the prompt or in scripts.”

comm

i m getting this error in communication program

>> edit myfun.m
myfun(123)
function mycommands