# Warning when reading Matlab files in Julia 0.6.0

**URL:** https://discourse.julialang.org/t/warning-when-reading-matlab-files-in-julia-0-6-0/5422
**Category:** New to Julia
**Created:** [August 17, 2017, 10:54am UTC](https://discourse.julialang.org/t/warning-when-reading-matlab-files-in-julia-0-6-0/5422 "2017-08-17T10:54:29Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![nako95](https://avatars.discourse-cdn.com/v4/letter/n/59ef9b/32.png) [@nako95](https://discourse.julialang.org/u/nako95)
#### Post date: [August 17, 2017, 10:54am UTC](https://discourse.julialang.org/t/warning-when-reading-matlab-files-in-julia-0-6-0/5422/1 "2017-08-17T10:54:29Z")

</div>

When I do the following in Julia 0.5.2 I have no warnings:

```julia
using MAT
file = matopen("file.mat") 
dict = read(file)

```

but when I change to Julia 0.6.0 I get the warning:

```julia
WARNING: Compat.ASCIIString is deprecated, use String instead.
  likely near In[1]:3 

```

I get the warning from `read(file)`.  
Shall I include Matlab files in some other way using Julia 0.6.0? Or is this just a warning I should ignore?

---

<div class="post-metadata">

### Author: ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)
#### Post date: [August 17, 2017, 11:32am UTC](https://discourse.julialang.org/t/warning-when-reading-matlab-files-in-julia-0-6-0/5422/2 "2017-08-17T11:32:36Z")

</div>

This is a deprecation warning, which you can ignore. Looks like it was [fixed](https://github.com/JuliaIO/MAT.jl/commit/109f70ba98cc068efc1f7ca5f45aa771f2fd3acd) recently anyway, and should show up in the next release.

---

<div class="post-metadata">

### Author: ![nako95](https://avatars.discourse-cdn.com/v4/letter/n/59ef9b/32.png) [@nako95](https://discourse.julialang.org/u/nako95)
#### Post date: [August 17, 2017, 1:53pm UTC](https://discourse.julialang.org/t/warning-when-reading-matlab-files-in-julia-0-6-0/5422/3 "2017-08-17T13:53:37Z")

</div>

Thank you!
