Results 1 to 2 of 2

Math Help - problem in transferring data from function to script file

  1. #1
    Newbie
    Joined
    May 2009
    Posts
    12

    problem in transferring data from function to script file

    hi..
    actually i was trying to transfer data from function to script file but i am not b able to do it.i tried global variable...but it only transferring final value.i want all the values of that parameter. plz suggest me the way
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Grand Panjandrum
    Joined
    Nov 2005
    From
    someplace
    Posts
    14,972
    Thanks
    4
    Quote Originally Posted by shaileshdhutekar View Post
    hi..
    actually i was trying to transfer data from function to script file but i am not b able to do it.i tried global variable...but it only transferring final value.i want all the values of that parameter. plz suggest me the way
    Create a buffer array in which the values you want to return are stored and return the buffer (or make it global if you must).

    CB
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. My Matlab function M-file for the Secant Method
    Posted in the Math Software Forum
    Replies: 4
    Last Post: December 3rd 2010, 06:48 AM
  2. [SOLVED] Problem Inserting EPS Figure into File
    Posted in the LaTeX Help Forum
    Replies: 19
    Last Post: October 1st 2010, 05:57 PM
  3. Replies: 3
    Last Post: May 9th 2010, 12:06 AM
  4. Mat lab - Referencing M-file in another M-file
    Posted in the Math Software Forum
    Replies: 5
    Last Post: December 16th 2009, 02:53 AM
  5. Replies: 1
    Last Post: February 19th 2008, 01:16 PM

Search Tags


/mathhelpforum @mathhelpforum