Technical discussion about Matlab and issues related to Digital Signal Processing.
Hello, Is it possible to run a Matlab code that use a data file which is obtained from an another Matlab file? Suppose you have two file, file-1's output is a dataset(randomly composed), and file-2 uses this data set during its running, I wonder is it possible that this two process can be compiled consecutively (without saving file-1's output as a file) How can I make contact between the two code? I would be happy if you could help me as soon as possible, thanks, ------------------------------------
--- In m...@yahoogroups.com, Cagin Kandemir Cavas <cagin_kandemir@...> wrote: > > Hello, > > > Is it possible to run a Matlab code that use a data file which is obtained from an another Matlab file? Suppose you have two file, file- 1's output is a dataset(randomly composed), and file-2 uses this data set during its running, I wonder is it possible that this two process can be compiled consecutively (without saving file-1's output as a file) > > How can I make contact between the two code? > > I would be happy if you could help me as soon as possible, thanks, > Cagin, I am not sure if I understood the question properly so I am restating it. Let me know if this is what u r trying to do. (problem) File-1 output is a dataset Output-1 File-2 needs to make use of Output-1 when it is run (without saving Output-1 as a file) (not sure if this is what u tried and still have a problem) If File-1 and File-2 are not functions that you are calling from a different program; you should be able to access the variables (datasets) in the workspace created while executing File-1, when you run File-2, after File-1, without having to do anything (using the same names for the variables used in File-1). Regards, Avinash