Cannot open .m files using open dialag in editor, macos big sur, r2021a
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
If I select "open" in the matlab editor and then select a .m file to open, the file does not open. I can "manually" open the file from the matlab commandline by typing "edit myfile.m." This used to work a month or so ago. I have given Matlab full disk access in my security preferences and that did not change the behaviour.
1 Kommentar
Antworten (4)
Gary
am 8 Okt. 2021
1 Kommentar
Hans De Sterck
am 8 Okt. 2021
thanks for the update; definitely an annoying issue; I can open files in the editor using the "edit" command or by clicking on files in the "current folder" pane, but not using the "Open" dialog (the selection window just disappears when selecting a file, without opening the file in the editor); I wonder whether this may be a java/user interface issue (this issue started when I upgraded to big sur)
Christopher Smith
am 10 Feb. 2022
I have a similar problem. Whenever I try to open a m-file (from folder list by dbl clicking or by alt-click open) and/or edit (both via line command), I get error dialog stating a bad line in the respective command (i.e., open or edit). It appears to be restricted to 2021b only and seems to have started with the most recent update. For example, I also have 2021a installed and it does not seem to have the same problem. Not sure the cause. Is there a Mathworks/Matlab moderator/tech on this forum is it just other users.
0 Kommentare
Ivana Kancheva
am 11 Mär. 2022
Bearbeitet: Ivana Kancheva
am 11 Mär. 2022
Hi all! I think it sounds a bit as if I have a similar issue.
I am logging onto a remote server for an internship I am doing and I use Matlab verion r2021b. I have a script contained in a standard Matlab script (.m) file. It was sent to me by a colleague who uses Mac and I am a Windows user. When I log onto the remote server (which uses Linux), I use Terminal to launch Matlab and set a path to the folder with the images I need, including the .m script files.
When I double-click on one of the .m files to display it as a script or try opening it as Live script, no contents get displayed. Instead, what I see is an error message starting with 'Mac OS' and then a bunch of intelligible characters. I tried different versions of Matlab or to Convert the script to Local Function in case this was the issue, but it does not work.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!