Hi Aiman,
The extra double quotes in your text are caused by the ‘QuoteStrings’ property of the ‘writecell’ function. By default, this option is set to ‘minimal’, which means it encloses delimiters, line endings, or double-quote characters in double quotes.
To remove these extra quotes, set the ‘QuoteStrings’ property of the ‘writecell’ function to false.
writecell(ans, 'MyFile.txt','QuoteStrings',false)
For further details on the ‘writecell’ function, you can check out the MATLAB documentation given below.
The ‘.prj’ files typically follow the Well-Known Text (WKT) format. In MATLAB, the ‘wktstring’ function can be used to generate WKT string representation of the specified projected or geographic coordinate reference system. To generate a ‘.prj’ file from a coordinate reference system, please refer to the MATLAB documentation linked below.
Hope this solves your query.