Hi I have an m-file which accesses another m-file at some point, but I don't want it to run the entire file. Is there a way to skip the first and last 10 lines of the file? I could just create a new file with the code I need, but this is like an addon to a programme, so if I could leave the original untouched that would be best. Hope that makes sense. Any advice much appreciated! Thanks.