MATLAB Beginner Here. Simple File Type Questions
I just bought the student version. Working through many of the video demos and such. What I mostly want to know for now, what's the difference between the different file types? It's my understanding that they are used as follows:
Model - For Simulink code (which I don't think I'll be using), which I think is mostly for mechanical engineering?
Function - This is strictly for creating a custom function that can be called in other files?
Class - File type that would be used for standard OOP. Probably most files in your library are Class files? (unless perhaps you use Simulink a lot)
Enumeration - ?? Not sure? Haven't run across this in any demos yet either. I guess this would be a file used for simulations or something? Like Monte Carlo sims?
Script - File calling code (presumably class files) to be run repeatedly. e.g., daily importing of stock data into a matrix. On a related note, can you set up MATLAB script to run on a schedule, in a similar manner to Cron jobs?
Zip - What's the point of being able to create zip files with MATLAB?
What's tilting me is just that all these file types have the same extension (.m), except for Model (.mdl) and Zip (.zip) files. For all intents and purposes, is the icon the only actual difference between a Class file and a Function file?
My apologies if these questions don't make sense. I'm just feeling around the software for the last week or so, and I've been looking for answers to my questions online. Any guidance is much appreciated.