How to fix error message "Invalid pfile. The file header is corrupt."

52 vues (au cours des 30 derniers jours)
Teagan Bailey
Teagan Bailey le 5 Mar 2021
I am struggling to use get_specific_heat_params.p I have that .p file downloaded and have tried calling a variable from it many times but keep getting this error message "Invalid pfile. The file header is corrupt." I have tried restarting matlab as well as deleting and redownloading the get_specific_heat_params.p file. How can I fix this?

Réponses (1)

Walter Roberson
Walter Roberson le 5 Mar 2021
You cannot fix it yourself. You need to get the site to recreate the file.
However, it is possible that the p file was created for (ummmm, let me think... somewhere around R11? I do not mean R2011x, I mean a release that was roughly 1997. p files that old might not be detected anymore.
There is a separate issue that p files created before... ummm, 2009?? 2011?? are not compatible and need to be regenerated. However when that situation is encountered matlab will give you a specific message saying that it needs to be recreated.

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Produits


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by