Stuart’s MATLAB Videos

Watch and Learn

Hide implementation in functions

I am working on a large scale project that involves many broad topics like loading data, and visualizing. Both of these are important, but I needed to work on the visualizing immediately. I knew I would be passing around a large dataset into lots of different functions. Eventually, I would want a very efficient method for loading the data. However, to get me to the point where I could develop the visuzation I simply loaded the data in from a .MAT file. Eventually I would change to something better than loading from a file. Using a function to hide where the data comes from allows me to switch implementation easily in the future.
  • print
  • send email


コメントを残すには、此処 をクリックして MathWorks アカウントにサインインするか新しい MathWorks アカウントを作成します。