From: Brittany Long on 25 May 2010 10:09 I'm still fairly new with Matlab, so bear with me! I am trying to write a main program that can load in arrays from a seperate .m file, and then call a function with those values. My attempt at elaboration: (File 1): Main program (File 2): .m file that is full of arrays of data (there are about 30 very big arrays). This file has lots of comments that I don't want to strip put and not all of the arrays are the same size, so I can't change it to a .dat/.mat file. (File 3): .m file with a function that should take the values I give to it in my main program (file 1) and interpolate within the array (file 2) that I specify. How would I go about doing this? I am not sure how to load my array file so that I can just refer to an array name in my main program and it finds it. Am I going about this in the wrong way?
From: Brittany Long on 25 May 2010 10:33 It looks like all I need to do is have my array file in the same working directory as my main program. That seems like it was more simple than it should have been! Thanks, problem solved!
|
Pages: 1 Prev: polyline feature extraction from satellite images Next: live-updating editable text |