title: Convert audio file to a byte array in matlab
body: <p>I want to convert an audio file (.wav/.mp3) to a byte array like in C#.  Here's my code,</p>
  
  <pre><code>string imageName = Guid.NewGuid().ToString() + ".mp3";
  byte[] file = System.Convert.FromBase64String(Filep);
  File.WriteAllBytes(Server.MapPath("FILE/" + imageName), file);
  return imageName;
  </code></pre>