Skip to content

Matlab script executioner and workspace viewer

License

Notifications You must be signed in to change notification settings

haakonbaa/matex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

matex

Matlab script executioner and workspace viewer. Makes it easy to write matlab scripts without using the matlab GUI.

Usage

USAGE:
    matex [ -w | -i | filename ]
  
OPTIONS:
    filename            Path to matlab file to execute
    -w | --workspace    Show workspace in terminal
    -i | --interactive  Open interactive terminal

Example

Start the engine and interactive terminal by running

matex --interactive # -i

Now show all variables in workspace with

matex --workspace # -w

The variables are automatically refreshed about every 0.5 second. Execute a script by running

matex ./path/to/my_script.m

Requirements

The code is tested with matlab R2022b, but it might work on any version >= R2014b.

This package uses mathwork's matlab-engine-for-python to connect to matlab. Install the package with:

python -m pip install matlabengine

About

Matlab script executioner and workspace viewer

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages