.m file suddenly became read only

40 次查看(过去 30 天)
JESSAN JACOB
JESSAN JACOB 2022-5-6
回答: Rishav 2023-9-13
I was abe to edit the code before and suddenly attempting to break and debugg it showed read only file and not able to run the file now.

回答(1 个)

Rishav
Rishav 2023-9-13
Hi JESSAN,
It is most likely that you have the file open in another program or another instance of MATLAB.
Alternatively, there is a chance that the file permissions were changed on the system level. So you can try changing that manually. For this, the method depends on your operating system, e.g. chmod for linux.
For Windows, right click on the file and check the properties option and see if it is manually marked Read-Only and if so if it can be unchecked or not.
Thank you,
Rishav Saha

类别

Help CenterFile Exchange 中查找有关 Interactive Control and Callbacks 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by