I have a file called lol on C:\. So when I run fopen('C:\lol','a'); to open the file, MATLAB can’t open it. I think it’s looking for a .txt or .m file extension.
How do I open this file in append mode as I want to append data to the file?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You probably don’t have UAC (user access control) to create/modify files in
C:\. Try some “safe” location like your Desktop.