MATLAB® has two types of files: script and function files. The remedy lies in writing all commands sequentially into a file, saving it and running it as necessary. ![]() This is inconvenient, and the reader who has perused the preceding chapters has undoubtedly experienced it. ![]() Moreover, every time a calculation needs to be repeated, all commands have to be retyped and re-entered. When one of the sequence commands needs to be corrected, all its predecessors have to be re-executed and the command then corrected, after which all subsequent commands must be repeated to obtain the final result. ![]() Another disadvantage of the Command Window is that correction is possible only on the last line executed. The commands discussed in previous chapters were executed in the Command Window they were not saved, and cannot be re-used. ![]() 4 Script, function files and some useful MATLAB® functions
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |