text file format problem
David McFarlane
mcfarla9 at msu.edu
Thu Apr 19 19:34:09 UTC 2012
I rarely look at people's files, but this looks interesting enough
that I would like to take a crack at it. Please send me your problem
.txt file -- just to me, *not* to the whole group! Thanks.
-- David McFarlane
At 4/19/2012 03:24 PM Thursday, you wrote:
>Hello all,
>
>This is a copy of a post that I recently added to the forum on PST's
>website.
>
>I am in a situation in which I need to create a large number of
>unique, predetermined stimulus sequences for each subject in a study.
>I am relying on a matlab script to create these sequences; it would be
>very hard to create them on the fly in E-Prime. So, I am generating
>the sequences using matlab, having matlab write out the properly-
>formatted text files, and telling E-Prime to use these text files to
>populate the relevant List Objects.
>
>Here's the problem: When I try to run an E-Prime program that calls to
>these files, it crashes out entirely -- which is to say, not only does
>the experiment self-abort, but E-Studio closes, and I get a message
>regarding this from Windows.
>
>What's even stranger is that if I take those same matlab-generated
>text files, open them in Excel (including the run through the
>conversion wizard), and then re-save them with the same .txt extension
>-- then suddenly everything works fine. So it is true that I have
>something of a workaround, but it is one that involves a tedious, time-
>consuming step that is potentially prone to human error (opening and
>re-saving all those files). So, it would be nice to get my matlab-
>generated files to work.
>
>I thought I had found the solution with the following matlab help
>page:
>http://www.mathworks.com/support/solutions/en/data/1-15HVX/index.html?product=ML&solution=1-15HVX
>
>I tried both their 'wt' option and their '/r/n' solution, and while
>both did successfully make my text files more Notepad-friendly, they
>still resulted in the same crashing of the E-Prime program.
>
>Thoughts?
--
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To post to this group, send email to e-prime at googlegroups.com.
To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com.
For more options, visit this group at http://groups.google.com/group/e-prime?hl=en.
More information about the Eprime
mailing list