Learning Hub‎ > ‎

Learning Mac Windows

Windows: Designated Computer, Concurrent, and Network Named User licenses

License files are stored in the "licenses" folder within the MATLAB installation folder.

If MATLAB is installed in the default location, license files are stored here:

C:\Program Files\MATLAB\R20XXx\licenses

(NOTE: Replace "R20XXx" with release number, e.g. R2015b.)

Windows: Individual licenses

License files are stored here:

%AppData%\MathWorks\MATLAB\R20XXx_licenses

(NOTE: Replace "R20XXx" with release number, e.g. R2015b.)

The %AppData% folder is hidden by default.

To get there, open the Start Menu, enter %AppData% in the search box, and press enter.

It can also be located at:

C:\Users\%USERNAME%\AppData\Roaming

macOS: Designated Computer, Concurrent, and Network Named User licenses

License files are stored inside the MATLAB application package.

Right click, CTRL-click, or two-finger click on the MATLAB icon in your Applications folder and select "Show Package Contents."

In the folder that opens up, open the "licenses" folder to see your license files.

 

macOS: Individual licenses

License files are stored in your home directory. Click on the Finder icon in your dock (the blue face) and go to the "Go" menu in the menu bar. Select "Go to Folder " and enter this:

~/.matlab

Click "go." In the folder that opens up, your license files are stored in the "R20XXx_licenses" folder, where R20XXx is the release of MATLAB you are using, e.g. R2015a.

 

Linux: Designated Computer, Concurrent, and Network Named User licenses

The license files are stored in the MATLAB installation directory:

$MATLAB/licenses

If MATLAB is installed in the default location, license files are stored here:

/usr/local/MATLAB/R20XXx/licenses

(NOTE: Replace "R20XXx" with release number, e.g. R2015b.)

 

Linux: Individual licenses

License files are stored in the ".matlab" folder within your home folder:

~/.matlab

In the .matlab folder, license files are stored in separate folders for each release:

R20XXx_licenses

(NOTE: Replace "R20XXx" with release number, e.g. R2015b.)

I found the folders, but there are .lic files instead of .dat files. Are they the same?Any file with the extension .lic are actually license files.

pop

Action

Windows

Mac OS

File menu

Alt+F, or F10 then F

Ctrl+F2, then F (requires full keyboard access active, using System Preferences > Keyboard > Keyboard Shortcuts > Full Keyboard Access > All Controls. Alternatively use Ctrl+F7 to toggle this setting.)

Undo the last operation

Ctrl+Z, orAlt+← Backspace

Cmd+Z

Redo the last operation

Ctrl+Y, or Shift+Alt+← Backspace

Shift+ Cmd+Z

Cut the selection and store it in theclipboard

Ctrl+X, or  Shift+Del

Cmd+X

Copy the selection into theclipboard

Ctrl+C, or Ctrl+Ins

Cmd+C

Paste contents ofclipboard atcursor

Ctrl+V, or  Shift+Ins

Cmd+V

Select all in focused control or window

Ctrl+A

Cmd+A

Navigation

Action

Windows

Mac OS

New folder

Ctrl+ Shift+N

Shift+ Cmd+N

Show desktop

Win+D or
Win+M (then use Win+ Shift+M to bring back all windows)

F11

Log out user

Shift+ Cmd+Q

Switch active user

Win+L[3]

Task manager

Ctrl+ Shift+Esc,Ctrl+Alt+Delete[4]

Alt+ Cmd+Esc

Rename object

F2

Enter or F2

Open file or program

Enter or  Shift+ Enter

Cmd+O or  Cmd+

Run application

Win, enter executable name or

Win+R, enter executable name

Cmd+Space, enter executable name

Search

Win, enter executable name or
Win+F or F3

Cmd+Space /

Alt+F

Power management[edit]

Action

Windows

Mac OS

Shut down computer

Ctrl+Alt+Del

Ctrl+ Opt+ Cmd+Eject

(no confirmation, shutdown is immediate)

Restart computer

(Win10)  Win+x > u > r

Ctrl+ Cmd+Eject[5]

(no confirmation, restart is immediate)

Screenshots[edit]

Action

Windows

Mac OS

Save screenshot of entire screen as file

Win+Print Screen orPrint Screen

Shift+ Cmd+3

Save screenshot of window as file

Shift+ Cmd+4 then Space

Copy screenshot of window to clipboard

Alt+Print Screen

Ctrl+ Shift+ Cmd+4 thenSpace

Text editing[edit]

Many of these commands may be combined with  Shift to select a region of text.[9]

Action

Windows

Mac OS

Delete char to the right of cursor

Del or Fn+← Backspace

Del, or Ctrl+d, orFn+← Backspace

Delete word to the right of cursor

Ctrl+Del

Opt+Del or
Opt+Fn+← Backspace

Delete word to the left of cursor

Ctrl+← Backspace

Opt+← Backspace

Go to start of line

Home, or Fn+

Cmd+ orCtrl+A

Go to end of line

End, or Fn+

Cmd+ orCtrl+E

Go to start of document

Ctrl+Home

Cmd+

Go to end of document

Ctrl+End

Cmd+

Go to previous line

, or Ctrl+p

Go to next line

, or Ctrl+n

Go to previous line break (paragraph)

Ctrl+

Opt+

Go to next line break

Ctrl+

Opt+

Move the cursor down the length of the viewport

Page Down

Opt+ or Opt+Fn+

Move the cursor up the length of the viewport

Page Up

Opt+ or Opt+Fn+

Find

Ctrl+F

Cmd+F

Cmd+E (Search with current selection)

Text formatting[edit]

Action

Windows

Mac OS

Bold

Ctrl+B

Cmd+B

Underline

Ctrl+U

Cmd+U

Italic

Ctrl+I

Cmd+I

Uppercase / Lowercase

Shift+F3,

Ctrl+ Shift+A

Opt+ Cmd+C

Superscript

Ctrl+ Shift+=

Ctrl+ Cmd++ (some applications only)

Subscript

Ctrl+=

Ctrl+ Cmd+- (some applications only)

Make selected text larger/smaller

Ctrl+ Shift+>/Ctrl+ Shift+<,

Ctrl+[/Ctrl+]

Opt+ Shift+>/ Opt+ Shift+<

Insert Linebreak

Shift+ Enter

Alt+ Enter

Web browsers[edit]

Action

Windows

Mac OS

Bookmarks menu

Ctrl+B

Cmd+B (Firefox)

Refresh a webpage

F5 or Ctrl+R

Cmd+R

Refresh a webpage ignoring cache

Ctrl+F5 orCtrl+ Shift+R

Cmd+ Shift+R

Open a new window

Ctrl+N

Cmd+N (Chrome)

Zoom Options (zoom in / zoom out / zoom 100%)

Ctrl++ / Ctrl+- /Ctrl+0

Cmd++ /  Cmd+- / Cmd+0

Window management[edit]

Action

Windows

Mac OS

Quit application of current window

Alt+F4 or Ctrl+F4 varies[26]

Cmd+Q[27]

Close dialog

Esc

Esc

Command line shortcuts[edit]

Below is a list of common keyboard shortcuts that are used in a command line environment.

Action

Microsoft Windows
(cmd.exe)

Microsoft Windows
(Windows PowerShell)

Unix/Linux/Mac OS X
(bash)

Unix/Linux/Mac OS X
(POSIX shell)

Abort current command/typing

Ctrl+C

Ctrl+C

Ctrl+C

Ctrl+C

Erase line to the left

Ctrl+Home

Ctrl+Home

Ctrl+U

Erase line to the right

Ctrl+End

Ctrl+End

Ctrl+K

Move to beginning of line

Home

Home

Ctrl+A

or Home

Move to end of line

End

End

Ctrl+E

or End

Clear screen

Ctrl+L

 



Action

Windows

Mac OS

File menu

Alt+F, or F10 then F

Ctrl+F2, then F (requires full keyboard access active, using System Preferences > Keyboard > Keyboard Shortcuts > Full Keyboard Access > All Controls. Alternatively use Ctrl+F7 to toggle this setting.)

Edit menu

Alt+E

Ctrl+F2, then E

View menu

Alt+V

Ctrl+F2, then V

Undo the last operation

Ctrl+Z, orAlt+← Backspace

Cmd+Z

Redo the last operation

Ctrl+Y, or Shift+Alt+← Backspace

Shift+ Cmd+Z

Cut the selection and store it in theclipboard

Ctrl+X, or  Shift+Del

Cmd+X

Copy the selection into theclipboard

Ctrl+C, or Ctrl+Ins

Cmd+C

Paste contents ofclipboard atcursor

Ctrl+V, or  Shift+Ins

Cmd+V

Paste special

Ctrl+Alt+V

Shift+ Opt+ Cmd+V

Select all in focused control or window

Ctrl+A

Cmd+A

Cycle through installed keyboard languages /input methods

Shift+Alt, or Win+Space

The latter displays a menu with the currently selected input method highlighted, and debuted in Windows 8.

Cmd+Space (not MBR)

Configure desired keypress in Keyboard and Mouse Preferences, Keyboard Shortcuts,Select the next source in Input menu.[1]

Navigation 

Action

Windows

Mac OS

New browser window with same page as current

Ctrl+N (for both explorer.exe and iexplore.exe)

New folder

Ctrl+ Shift+N

Shift+ Cmd+N

Applications menu

Win or
Ctrl+Esc

Ctrl+F2, then "n" (requires full keyboard access active, using System Preferences > Keyboard > Keyboard Shortcuts > Full Keyboard Access > All Controls. Alternatively use Ctrl+F7 to toggle this setting.)

Lock desktop

Win+L[2]

Ctrl+ Shift+Eject or MBR Ctrl+ Shift+Pwr

(If "Require password after sleep or screen saver" is enabled in "System Preferences — Security & Privacy")

Show desktop

Win+D or
Win+M (then use Win+ Shift+M to bring back all windows)

F11

Log out user

Shift+ Cmd+Q

Switch active user

Win+L[3]

Task manager

Ctrl+ Shift+Esc,Ctrl+Alt+Delete[4]

Alt+ Cmd+Esc

Rename object

F2

Enter or F2

Open file or program

Enter or  Shift+ Enter

Cmd+O or  Cmd+

Switch window (next/previous)

Alt+Tab  /

Shift+Alt+Tab

Cmd+Tab  /

Shift+ Cmd+Tab

Switch window without dialog (next/previous)

Alt+Esc /

Shift+Alt+Esc

Only works within single Applications

Cmd+` /  Cmd+~

Run application

Win, enter executable name or

Win+R, enter executable name

Cmd+Space, enter executable name

Search

Win, enter executable name or
Win+F or F3

Cmd+Space /

Alt+F

Power management 

Action

Windows

Mac OS

Place computer into sleep/standby mode

Sleep (available on some keyboards, configurable in Control Panel → Power Options → Advanced tab dialog box) OR (Win10) Win+x > u > s

 Opt+ Cmd+Eject[5]

Shut down computer

Ctrl+Alt+Del

Ctrl+ Opt+ Cmd+Eject

(no confirmation, shutdown is immediate)

Restart computer

(Win10)  Win+x > u > r

Ctrl+ Cmd+Eject[5]

(no confirmation, restart is immediate)

Place display in sleep mode

Ctrl+ Shift+Eject

Bring up power/sleep dialog box

Alt+F4 (while on Desktop only)

Ctrl+Eject

Screenshots 

Action

Windows

Mac OS

Save screenshot of entire screen as file

Win+Print Screen orPrint Screen

Shift+ Cmd+3

Save screenshot of window as file

Shift+ Cmd+4 then Space

Copy screenshot of window to clipboard

Alt+Print Screen

Ctrl+ Shift+ Cmd+4 thenSpace

Copy screenshot of arbitrary area to clipboard

Ctrl+ Shift+ Cmd+4

Save screenshot of arbitrary area as file

Shift+ Cmd+4

Text editing[edit]

Many of these commands may be combined with  Shift to select a region of text.[9]

Action

Windows

Mac OS

Delete char to the right of cursor

Del or Fn+← Backspace

Del, or Ctrl+d, orFn+← Backspace

Delete word to the right of cursor

Ctrl+Del

Opt+Del or
Opt+Fn+← Backspace

Delete word to the left of cursor

Ctrl+← Backspace

Opt+← Backspace

Go to start of line

Home, or Fn+

Cmd+ orCtrl+A

Go to end of line

End, or Fn+

Cmd+ orCtrl+E

Go to start of document

Ctrl+Home

Cmd+

Go to end of document

Ctrl+End

Cmd+

Go to previous word

Ctrl+,

or

Ctrl+/

 Opt+

Go to next word

Ctrl+

Opt+

Go to previous line

, or Ctrl+p

Go to next line

, or Ctrl+n

Go to previous line break (paragraph)

Ctrl+

Opt+

Go to next line break

Ctrl+

Opt+

Move the cursor down the length of the viewport

Page Down

Opt+ or Opt+Fn+

Move the cursor up the length of the viewport

Page Up

Opt+ or Opt+Fn+

Find

Ctrl+F

Cmd+F

Cmd+E (Search with current selection)

Go to next search result

F3

Cmd+G

Go to previous search result

Shift+F3

Shift+ Cmd+G

Search and replace

Ctrl+H

Cmd+F

Text formatting 

Action

Windows

Mac OS

Bold

Ctrl+B

Cmd+B

Underline

Ctrl+U

Cmd+U

Italic

Ctrl+I

Cmd+I

Uppercase / Lowercase

Shift+F3,

Ctrl+ Shift+A

Opt+ Cmd+C

Superscript

Ctrl+ Shift+=

Ctrl+ Cmd++ (some applications only)

Subscript

Ctrl+=

Ctrl+ Cmd+- (some applications only)

Make selected text larger/smaller

Ctrl+ Shift+>/Ctrl+ Shift+<,

Ctrl+[/Ctrl+]

Opt+ Shift+>/ Opt+ Shift+<

Make selected text bulleted or Numbered Items

Ctrl+ Shift+L

Insert Linebreak

Shift+ Enter

Alt+ Enter

Browsers / Go menu[edit]

Action

Windows

Mac OS

Go to Address Bar

Alt+D or Alt+C or F6
depending on language

Cmd+L or Shift+ Cmd+G

Go to the previous location in history[14]

Alt+ or ← Backspace

Cmd+[ or  Cmd+

Go to the next location in history

Alt+ or  Shift+← Backspace (web browser only)

Cmd+] or  Cmd+

Go up one level in the navigation hierarchy

Alt+ (Vista, 7 or 8 only) or ← Backspace(Windows Explorer)

Cmd+

Go to the starting page defined by the user or application

Alt+Home

Cmd+Home

Web browsers 

Action

Windows

Mac OS

Bookmarks menu

Ctrl+B

Cmd+B (Firefox)

URL Shortcuts (Adds www. + .com)

Ctrl+ Enter

Cmd+ Enter (Firefox) or

Control+ Enter (Chrome)

URL Shortcuts (Adds www. + .org)

Ctrl+ Shift+ Enter

Shift+ Cmd+ Enter(Firefox)

URL Shortcuts (Adds www. + .net)

Shift + Enter

Shift + Enter (Firefox)

Add bookmark for current page

Ctrl+D

Cmd+D

Manage bookmarks

Ctrl+B

Cmd+ Opt+B(Chrome/Safari) or

Cmd+ Shift+B(Firefox)

Focus and select Web search bar

Ctrl+E

Cmd+E (Opera) or

Cmd+K (Firefox) or
Opt+ Cmd+F(Safari)

Focus and select address bar

Ctrl+L or F6 orAlt+D

Cmd+L

Refresh a webpage

F5 or Ctrl+R

Cmd+R

Refresh a webpage ignoring cache

Ctrl+F5 orCtrl+ Shift+R

Cmd+ Shift+R

Open a new window

Ctrl+N

Cmd+N (Chrome)

Zoom Options (zoom in / zoom out / zoom 100%)

Ctrl++ / Ctrl+- /Ctrl+0

Cmd++ /  Cmd+- / Cmd+0

Tab management[edit]

Action

Windows

Mac OS

New tab

Ctrl+T

Cmd+T

Close tab

Ctrl+W

Cmd+W

Close all tabs but the current one

Cmd+ Opt+t (Safari)

Go to next tab

Ctrl+Tab

Control+Tab  or Cmd+ Shift+ (Safari)

Go to previous tab

Ctrl+ Shift+Tab

Shift+Control+Tab  or Cmd+ Shift+ (Safari)

Go to tab-n

Ctrl+n(Chrome/Firefox/Internet Explorer)

Cmd+n (Chrome)

Open a previously closed tab

Ctrl+ Shift+T

Cmd+ Shift+T(Firefox/Opera/Chrome)

Open a previously closed window

Ctrl+ Shift+N(Firefox)[20]

Window management[edit]

Action

Windows

Mac OS

Force window mode (Application requires functionality for set action)

Alt+ Enter

Option+Alt+ Enter or Option+Alt+F or Cmd+F or Cmd+ Option+F

Pop up window menu

Alt+Space

Close the focused window

Alt+F4 or Alt+Space then C[22]

Cmd+W

Close all windows of current application

Cmd+ Option+W

Restore the focused window to its previous size

Alt+Space then R[22]

Move the focused window

Alt+Space then M[22] thenArrow Keys and  Enter(to save location)

Resize the focused window

Alt+Space then S[22] thenArrow Keys

Hide the focused window

Cmd+H

Hide all except the focused window

Cmd+ Option+H

Lower the focused window

Alt+Esc

Minimize the focused window

Alt+Space then N,[22] or Win+ (Windows Vista Home Premium, Windows >=7)

Cmd+M

Maximize the focused window

Alt+Space then X,[22] or  Win+(Windows 7 and Windows 8)

Cmd+L

Maximize horizontally

Maximize vertically

Win+ Shift+ (Windows 7 and Windows 8)

Available ('Zoom'), but no default

Minimize all

Win+M or  Win+D

Cmd+Alt+M

Minimize all non focused windows

Win+Home (Windows 7 and Windows 8.1)

Undo minimize all

Shift+ Win+M

Switch fullscreen/normal size

F11

Cmd+ Shift+F

Show the window in full screen mode, with no border, menubar, toolbar or statusbar

Depends on application, system default: Cmd+CTRL+F

Rollup/down window

Show all open windows

Win+Tab  (Windows 7)

F9 or

Move mouse pointer to configured hot corner oractive screen corner[23][24]

Show all windows of current application

F3 or

Move mouse pointer to configured hot corner oractive screen corner[23][24]

Show all workspaces

Win+Tab  (only Windows 10)

F8 or

Move mouse pointer to configured hot corner oractive screen corner[23][24]

Move window to left/right/up/down workspace

Win+/ (Windows 7 and Windows 8)

Move window between multiple monitors

Win+ Shift+/ (Windows 7 and Windows 8)

Move window to workspace n

Switch to next/previous workspace list

Go to workspace n

Ctrl+n

Go to left/right/up/down workspace

[25]

Ctrl+ /

Ctrl+ / Ctrl+ /Ctrl+ (OS X 10.5 to 10.6), Ctrl+ / Ctrl+(OS X 10.7)

Quit application of current window

Alt+F4 or Ctrl+F4 varies[26]

Cmd+Q[27]

Close dialog

Esc

Esc

Open/Focus (preview) pinned program on the taskbar

Win+(#) where "#" is the position of the program on the Windows Taskbar (Windows 7 and Windows 8.1)

Open new program window of pinned program in Quick Launch

Win+(#) where "#" is the position of the program on the Quick Launch toolbar (Windows Vista, 7 and 8.1)

Open new program window of the pinned program on the taskbar (if program is already opened)

Win+ Shift+(#) where "#" is the position of the program on the Windows Taskbar (Windows 7 and Windows 8.1)

Focus the first taskbar entry. Pressing again will cycle through them

Win+T, you can ←→ back and forth. Hold  Shift to cycle backwards (Windows 7 and Windows 8.1)

Peek at the desktop

Win+Space (Windows 7 only)

F11 or

Move mouse pointer to configured hot corner oractive screen corner[23][24]

Bring gadgets to the front of the Z-order and cycle between gadgets

Win+G (Windows Vista,7) or Win+Space (Vista only, no cycling)

External display options (mirror, extend desktop, etc.)

Win+P (Windows 7 and Windows 8)

User interface navigation (widgets and controls)[edit]

Action

Windows

Mac OS

Moves keyboard focus to next/previous control

Tab  / Shift+Tab

With full keyboard access active (System Preferences > Keyboard > Keyboard Shortcuts > Full Keyboard Access > All Controls)

Tab  /  Shift+Tab

Pop up tooltip for currently focused control

Shift+F1

Show context-sensitive help for currently focused window or control

Shift+F1

Cmd+?

Give focus to next/previous pane

Ctrl+F6 /Alt+F6

Cmd+`

Give focus to splitter bar in paned window

Give focus to window'smenu bar

F10 or Alt

Cmd+ Shift+/, then type command name, or
Ctrl+F2 (or Fn+Ctrl+F2 on some keyboards - requires full keyboard access active using System Preferences > Keyboard > Keyboard Shortcuts > Full Keyboard Access > All Controls))

Pop up contextual menu for currently selected objects (aka context menu)

Shift+F10or  Menu

Varies with laptop / extended keyboard type; enable Mouse keys inUniversal Access, then Function+Ctrl+5 or Ctrl+5 (numeric keypad) or Function+Ctrl+i (laptop)

Toggle selected state of focused checkbox, radio button, or toggle button

Space

Space

Activate focused button, menu item etc.

Enter

Space (also  Enter for menu items)

Scroll selected view by one page up/left/down/right

 / 

(or Fn++Fn+ on some keyboards)

Scroll selected view to top/bottom

 or on MacBook Pro Fn +  Opt + 

 or on MacBook Pro Fn +  Opt + 

Switch focus to the next/previous tab within a window

Ctrl+Tab

Ctrl+Tab  /

Cmd+`

Command line shortcuts 

Below is a list of common keyboard shortcuts that are used in a command line environment.

Action

Microsoft Windows
(cmd.exe)

Microsoft Windows
(Windows PowerShell)

Unix/Linux/Mac OS X
(bash)

Unix/Linux/Mac OS X
(POSIX shell)

Scroll through History of typed commands

/

/

/ orCtrl+P/Ctrl+N

ESC K / ESC J

Signal end-of-file

Ctrl+Z

Ctrl+D

Abort current command/typing

Ctrl+C

Ctrl+C

Ctrl+C

Ctrl+C

Erase word to the left

Ctrl+← Backspace

Ctrl+W orEsc+← Backspace

Erase word to the right

Ctrl+Delete

Alt+D

Erase line to the left

Ctrl+Home

Ctrl+Home

Ctrl+U

Erase line to the right

Ctrl+End

Ctrl+End

Ctrl+K

Yank/paste previously erased string

Ctrl+Y

Move one word to the left (backward)

Ctrl+

Alt+

Alt+B

Move one word to the right (forward)

Ctrl+

Alt+

Alt+F

Move to beginning of line

Home

Home

Ctrl+A

or Home

Move to end of line

End

End

Ctrl+E

or End

Reverse search of history

F8

F8

Ctrl+R

Stop execution of the current job

Ctrl+Z

Insert the next character typed verbatim

Ctrl+V

Autocomplete command/file name

Tab  (enabled by default in Windows XP and later)

Tab

Tab  (usually once)

Esc (usually twice)

Paste contents of clipboard atcursor

Alt+Space then E then P

Shift+Ins

Scroll window up

Shift+PageUp (may not work in some versions of Windows XP)

Shift+PageUp

Scroll window down

Shift+PageDown (may not work in some versions of Windows XP)

Shift+PageDown

Clear screen

Ctrl+L


Comments