I can't seem to open any new or old scripts in Matlab. It doesn't give me an error or anything either. I press on the script I want to open, and nothing opens. The only thing I can access is the Command Window and the Workspace.

7 commentaires

Walter Roberson
Walter Roberson le 1 Oct 2023
Are you able to give commands at the command window? If so what happens if you use the "open" command?
Rebekah
Rebekah le 1 Oct 2023
I'm still able to use the command window. When I try to use the open command, for example "open hw1.m", nothing happens. It just goes to a new line.
What happens if you check
which edit
which open
Rebekah
Rebekah le 1 Oct 2023
It gives me this message for which edit:
/Applications/MATLAB_R2023b.app/toolbox/matlab/codetools/edit.m
And this for which open:
/Applications/MATLAB_R2023b.app/toolbox/matlab/general/open.m
Sam Chak
Sam Chak le 1 Oct 2023
Can you take a screenshot of the MATLAB Window?
Rebekah
Rebekah le 1 Oct 2023
Rebekah
Rebekah le 1 Oct 2023

Connectez-vous pour commenter.

 Réponse acceptée

Sam Chak
Sam Chak le 1 Oct 2023
Déplacé(e) : Dyuman Joshi le 1 Oct 2023

3 votes

Can you click on the Editor tab over here?

2 commentaires

Rebekah
Rebekah le 1 Oct 2023
Déplacé(e) : Dyuman Joshi le 1 Oct 2023
Oh wow...that was a really easy fix. I appreciate it. Thank you so much!
Dyuman Joshi
Dyuman Joshi le 1 Oct 2023
It seems that it was a layout problem.
For more info on layout of the display on MATLAB Application on your pc, check this link - https://in.mathworks.com/help/matlab/matlab_env/change-the-desktop-layout.html
Also, @Rebekah, as this answer has solved your problem, please consider accepting the answer.
Accepting the answer indicates that your problem has been solved (which can be helpful to other people in future) and it awards the volunteer with reputation points for helping you.
You can accept only 1 answer for a question, but you can vote for as many answers as you want. Voting an answer also provides reputation points.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by