Skip to content

Matlab

MATLAB is a proprietary multi-paradigm programming language and numeric computing environment developed by MathWorks.

License Activation

  • MATLAB is pre-installed on the server
  • First-time users must activate their license
  • During initial launch, you'll be prompted to:
    1. Enter your MathWorks account credentials
    2. Authenticate your institutional license

Accessing MATLAB

Remote Connection

# Connect with X11 forwarding for GUI support
ssh -X <username>@193.10.16.5

Launching MATLAB

# Start MATLAB in terminal mode
matlab

# Alternative: Start MATLAB with specific options
matlab -nodesktop    # No desktop environment
matlab -nosplash     # Skip splash screen
  1. Terminal Mode

    # Ideal for scripting and batch processing
    matlab -nodesktop -r "your_script.m"
    

  2. Interactive GUI

    # Full MATLAB desktop environment
    matlab
    

Performance Optimization

  • Use -nodesktop for computationally intensive tasks
  • Close unnecessary GUI windows
  • Utilize server's computational resources efficiently

Workspace Management

  • Save your work frequently
  • Use save command to preserve workspace
  • Clear large variables to free memory
    clear large_variable
    

Advanced Usage

Running MATLAB Scripts

# Execute MATLAB script from command line
matlab -batch "run('path/to/your/script.m')"

Parallel Computing

  • MATLAB supports server-side parallel processing
  • Configure parallel computing toolbox for enhanced performance

Resources