Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
DBF and WK1 formats

Subject: DBF and WK1 formats

From: C Schwalm

Date: 8 May, 2008 17:37:03

Message: 1 of 5

Is there any easy way to read DBF and WK1 formats into
Matlab? I've tried numerous things but find manually
resaving these files as XLS to be to only solution so far.

Subject: DBF and WK1 formats

From: C Schwalm

Date: 16 Sep, 2008 19:02:01

Message: 2 of 5

I've, obviously, found the WK1READ function in standard Matlab. Not sure how I missed it... The is also a DBFREAD function on FEX that is helpful but, afaik, sensibly dealing with DBF files is not part of standard Matlab.

Subject: DBF and WK1 formats

From: Steven Lord

Date: 19 Sep, 2008 05:50:50

Message: 3 of 5


"C Schwalm" <schw0516.nospam@umn.nospam.edu> wrote in message
news:gaovr9$qmd$1@fred.mathworks.com...
> I've, obviously, found the WK1READ function in standard Matlab. Not sure
> how I missed it... The is also a DBFREAD function on FEX that is helpful
> but, afaik, sensibly dealing with DBF files is not part of standard
> Matlab.
>

What types of files are DBF files? The filext site lists 11 different types
of files that use the DBF extension; several seem to be the type of thing
you might want to import into MATLAB:

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

--
Steve Lord
slord@mathworks.com

Subject: DBF and WK1 formats

From: C Schwalm

Date: 26 Sep, 2008 02:26:02

Message: 4 of 5

> What types of files are DBF files? The filext site lists 11 different types
> of files that use the DBF extension; several seem to be the type of thing
> you might want to import into MATLAB:
>
> http://filext.com/file-extension/dbf
>
> --
> Steve Lord
> slord@mathworks.com
>

I'm referencing the first entry and ArcView Shapefile Attribute Table File. TMK, these are the same. Another way to look it as that you can read DBF files in Excel. The workaround I've done in the past is to read a DBF file in Excel then save it as a format Matlab can handle. But I'd like to not have to do this. There is a FEX tool that I mentioned which has proven helpful...

Subject: DBF and WK1 formats

From: Rob Comer

Date: 12 Oct, 2008 13:07:02

Message: 5 of 5

FYI, the Mapping Toolbox function SHAPEREAD will read the .DBF attribute table of a shapefile, along with the vector coordinate data in the corresponding .SHP file.

Rob Comer
Mapping Toolbox Development
The MathWorks, Inc.

Tags for this Thread

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.

Contact us