Thread Subject: Loading Lif files in to matlab

Subject: Loading Lif files in to matlab

From: Rob Ing

Date: 20 Mar, 2010 14:45:07

Message: 1 of 2

Hi,

I am making a game of life. I want to be able to load the .lif files in to my program but i am struggling to find any information on how to do it.

The game of life is a simulation of cells dying and living. Depending on the amount of cells that is alive around it depends on whether it is alive or dead. To start off the simulation, different patterns can be loaded in to the matlab program. There are people that have created a lot of patterns and saved them with a file extension of lif. I want to be able to load these patterns in to my game of life program.


Can anyone give me a link that explains it or just explain it to me please?

Any help will be greatly appreciated.

Rob

Subject: Loading Lif files in to matlab

From: Steven Lord

Date: 21 Mar, 2010 23:50:13

Message: 2 of 2


"Rob Ing" <ringham3@hotmail.com> wrote in message
news:ho2n1j$hbc$1@fred.mathworks.com...
> Hi,
>
> I am making a game of life. I want to be able to load the .lif files in to
> my program but i am struggling to find any information on how to do it.

Looking at this page, it appears there are two places where the format of
this type of file may be listed:

http://filext.com/file-extension/lif

You will need to write the function to read in the file using this format
yourself. You can make use of the low-level file I/O functions to do so;
see HELP IOFUN.

--
Steve Lord
slord@mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us at files@mathworks.com