Import results writen by Matlab - help

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Import results writen by Matlab - help

Anna4194
Dear all,

I have written a .txt results file using Matlab. When I import the data into Image J, not all of the columns of data are recognised, only the last column.

As a test I printed the results to the log and only the last column of the results can be read, NaN is printed for the other columns.  

I don't know why it does not recognise the other columns of data? If anyone has any suggestions, it would be appreciated!

Thank you,

Anna
Reply | Threaded
Open this post in threaded view
|

Re: Import results writen by Matlab - help

Rasband, Wayne (NIH/NIMH) [E]
On May 21, 2010, at 5:07 AM, Anna4194 wrote:

> Dear all,
>
> I have written a .txt results file using Matlab. When I import the data
> into Image J, not all of the columns of data are recognized, only the
> last column.
>
> As a test I printed the results to the log and only the last column of
> the results can be read, NaN is printed for the other columns.  
>
> I don't know why it does not recognise the other columns of data?
> If anyone has any suggestions, it would be appreciated!

The v1.44a daily build fixes a bug that caused the getResult() macro function to return NaN with imported results containing column headings with trailing spaces (e.g., "nb ").

-wayne