Sign in

username:

password:



Not a member?

Search matlab



Search tips

Subscribe to matlab



matlab by Keywords

Atanh | Autocorrelation | Bandpass Filter | C++ | Conv | Database | Deconv | Excel | FFT | Filter | Filtering | FIR | Fourier Transfrom | FSK | Gaussian Noise | Haykin | IFFT | Image | Java | LFSR | LMS | LPC | MEX | OFDM | QPSK | Radix | Random | Sampling | Segmentation | Simulink | Visual Basic | Waveform | Wavelet

Discussion Groups

Discussion Groups | Matlab DSP | import file problem

Technical discussion about Matlab and issues related to Digital Signal Processing.

  

Post a new Thread

import file problem - Cagin Kandemir Cavas - Jun 27 7:01:37 2008



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,

------------------------------------



(You need to be a member of matlab -- send a blank email to matlab-subscribe@yahoogroups.com )

Re: import file problem - avinash_uv - Jun 28 9:51:12 2008

--- 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



(You need to be a member of matlab -- send a blank email to matlab-subscribe@yahoogroups.com )