how to read .m file from another directory

  • Follow


I  want to read .m file in another file and I  want to take the average of an object at a particular point. For example, Iam running a program which take the axis as 0-3000. I want average at particular values like 500 1000 1500 etc..
Thank you
Aishwarya
0
Reply aishwarya 12/27/2009 10:20:04 AM

aishwarya P wrote:
> I  want to read .m file in another file and I  want to take the average 
> of an object at a particular point. For example, Iam running a program 
> which take the axis as 0-3000. I want average at particular values like 
> 500 1000 1500 etc..
.....

These don't seem at all related...

m-files are searched for in directories on the ML path

doc path

look at m-file programming in "Getting Started" section to see 
discussion of how ML resolves m-file names, variables, etc.

As for the latter, reference the datapoints required in the array either 
directly or thru some computed indexing algorithm.  As another response 
in another thread noted, need more details for specific solutions.

--
0
Reply dpb 12/27/2009 3:05:24 PM


1 Replies
421 Views

(page loaded in 0.188 seconds)

Similiar Articles:













7/23/2012 2:36:34 AM


Reply: