It happends that sometimes when we copy some content from one file to another MathCAD gives us the message “ the contents of this file has been corrupted”, to have the possibility to save our file do the following:
1. Look if you’re copied or not copied content has the red squares which mean that MathCad has problems with solving some equations. Delete them or make changes that everything can be solved. This should work
If you by mistake closed the programm and you can not open your file because it gives you this error follow this steps.
- Download “recovery” file and save it in the same folder your broken file is.
- Open this file, on the message appearing answer “No”
- In the purple field “File Name” we define name of our broken file for example File Name=”Project”. Don’t use *.xmcd ending in defining the name.
- Open the collapsed “Recovery functions“. Right click on the fileread and filewrite than “Edit Script” than Apply (square with a tick mark).
- Look at the field “number of regions converted” which means how many regions does your file has in an order which your file goes from beginning to the end.
- In the Region Exclusion in violet field k=x….y we enter the range which we want to exclude, hoping that we delete the region which is causing this error. k<number of regions converted
- The repaired file is saved at a new name “your file name test.xmcd. Try to open it. If you still receive this error message you must expand the range of Region Exclusion changing k =x…y
I hope I helped. If you have problems leave the comment.
EDIT: The solution is based on the file uploaded by some genious from MathCAD community forum not me. It was hard for me to understand instructions from MathCAD forum so after I finally found the right way I thought I will share my instructions with others. If this post is read by the author of the file, don’t hesitate to write and introduce yourself.