How do I get the .p file back to a readable format for the .m function?

I went to view a .p file and when I went to "Open With", inadvertently failed to check the "Always use the selected program to open this kind of file". Now my .p file won't run from the .m function that is used to call it.
[Merged information from duplicate question]
FIrst of all, this use to work just fine when running the .m file. However, I went to view a .p file and when I went to "Open With", inadvertently failed to check the "Always use the selected program to open this kind of file". Now my .p file won't run from the .m function that is used to call it because it's selected for that other program.

Answers (1)

It sounds as if you might have accidentally written to the .p file, such as by saving it in an editor. If so that would have corrupted the .p file and you would need to recreate it or re-download it.

Categories

Asked:

on 22 Oct 2012

Community Treasure Hunt

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

Start Hunting!