Hi Dan!
I understand that you are facing issues with the following:
- Every new plot figure is opening off screen.
- The MATLAB window is opening across two screens.
To address your first issue, you can follow these steps:
- After modifying the “startupsav.m” file, make sure that you are saving it as “startup.m” in the appropriate MATLAB startup folder. This can be found by running the following command in MATLAB:
2. Right-click the icon for MATLAB on the desktop and select “Properties” from the context menu. The “Properties” dialog box for MATLAB opens in the Shortcut pane by default.
3. Paste the path where you have saved the “startup.m” file against the “Start in” field.
4. Restart MATLAB for the changes to take effect.
The second issue is likely due to a configuration issue with the display settings or MATLAB's display preferences. You can try the following steps to resolve this issue:
- Open MATLAB.
- Go to the "Home" tab in the MATLAB desktop.
- In the "Environment" section, click on "Layout" and select "Default Layout".
This should reset MATLAB's layout to a single screen. If that doesn't work:
- In the “Environment” section, go to "Preferences" > "MATLAB" > "Desktop" and check your "Desktop Layout" settings. Make sure it's set to "Default Layout”.
- Restart MATLAB to see if the issue is resolved.
If the problem persists, you may need to adjust your machine’s display settings or check if there are any third-party software conflicts that might be affecting MATLAB's window management.
I hope this helps!
Regards,
Nivedita.