Greets! I am using MATLAB for my Final Year Project. I just want to ask what is meant by Error: Function definitions are not permitted in this context. This is the first part of the coding. It says that function facetest | Error: Function definitions are not permitted in this context.
I already save the file as facetest.m and it appear the same error. Can anyone teach me how to solve this problem? Thanks
Best Answer