Trouble Opening .dat Files in R2013b

7 vues (au cours des 30 derniers jours)
Nick Henscheid
Nick Henscheid le 20 Sep 2013
I have a program that saves all my environment variables to a .dat file once per iteration. This way, I can open up these variables at a later time to make plots, etc.
In R2010b, I get a simple dialog box when I double click the .dat file to open. It looks like this:
However, I recently upgraded to R2013b, and now the uiopen dialog box is completely different and I can't figure out how to get my variables to show up correctly:
I've tried all the various options involving column delimiters and so forth, but nothing I've tried gives me my original variables back. Any suggestions?
Thanks!

Réponse acceptée

Shashank Prasanna
Shashank Prasanna le 20 Sep 2013
It appears that it is a MAT file that has a dat file extension.
Could you try the following on the command line:
>> load('thing.dat')
or try renaming the file from thing.dat to thing.mat and then double clicking on it in the current folder browser.
  1 commentaire
Nick Henscheid
Nick Henscheid le 20 Sep 2013
Huh, this seems to work. I've been using .dat for a couple years with this project and 2010b never complained. Thanks!

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by