![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsZpmZRvLK7SpmVnr18Riq4kbrBneBbHYeoaYDhMszjzUkkQYgzDHbEWBuUMcLvN1-o9_BHmGqRIx8tXh51-M6PBTgZ0x5lVLVtO7kbP7WlZD9k9SIOTUrNQ9N103Y1pj7zuig4Tf0Hp0/s320/Function1.png)
Matlab Programming Tips Part 1 from Shameer Ahmed Koya
- Both functions and scripts are stored in .m files
- Type up a bunch of commands and save as filename.m
- Type filename in command window to run
- Example: first_program.m
- The name of a script file must begin with a letter, and may include digits and the underscore character, up to 63 characters.
- Do not give a script file the same name as a variable.
- Do not give a script file the same name as a MATLAB command or function.
No comments:
Post a Comment