[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: (no subject)
From: |
Lester Anderson |
Subject: |
Re: (no subject) |
Date: |
Fri, 10 Jun 2016 12:42:25 +0100 |
> %read parameters from a txt file
>
> [datafile] = uigetfile('*.txt','Choose a txt file');
> A=dlmread(datafile);
> zt = A(:,1);
> zb = A(:,2);
> agetop = A(:,3);
> agebas = A(:,4);
> psed = A(:,5);
> c = A(:,6);
> surpor = A(:,7);
> basset = A(:,8);
>
> flagfile = 1;
> flagunits = 1;
> flagage = 1;
> flagdens = 1;
> flagporo = 1;
>
> p.s. hope this is posting in the right place now
As a double check, I removed the ";" from the line ends to see what is
written to the terminal and that all looked fine; it just did not
write the variables to the workspace.
- Re: (no subject), (continued)
- Re: (no subject), siko1056, 2016/06/09
- Re: (no subject), Lester Anderson, 2016/06/10
- Re: (no subject), siko1056, 2016/06/10
- Re: (no subject), Lester Anderson, 2016/06/10
- Re: (no subject), Doug Stewart, 2016/06/10
- Re: (no subject), Lester Anderson, 2016/06/10
- Re: (no subject), Doug Stewart, 2016/06/10
- Re: (no subject), Tatsuro MATSUOKA, 2016/06/10
- Re: (no subject), Doug Stewart, 2016/06/10
- Re: (no subject), Lester Anderson, 2016/06/10
- Re: (no subject),
Lester Anderson <=
- Re: (no subject), Doug Stewart, 2016/06/10
- Re: (no subject), Lester Anderson, 2016/06/10
- Re: (no subject), Doug Stewart, 2016/06/10
- Re: (no subject), Doug Stewart, 2016/06/10
- Re: (no subject), Lester Anderson, 2016/06/10
- Re: (no subject), Francesco Potortì, 2016/06/10
- Re: (no subject), Tatsuro MATSUOKA, 2016/06/10
- Re: (no subject), Francesco Potortì, 2016/06/10