MySQL API for MATLAB with support for BLOB objects
MYM - Interact with a MySQL database server Copyright 2005, EPFL (Yannick Maret)
Copyright notice: this code is a heavily modified version of the original work of Robert Almgren from University of Toronto sourceforge project
See mym.m for further documentation.
.env
with desired development environment values e.g.
MATLAB_USER=raphael
MATLAB_LICENSE="#\ BEGIN----...---------END" # For image usage instructions see https://github.com/guzman-raphael/matlab, https://hub.docker.com/r/raphaelguzman/matlab
MATLAB_VERSION=R2018b
MATLAB_HOSTID=XX:XX:XX:XX:XX:XX
MATLAB_UID=1000
MATLAB_GID=1000
MYSQL_TAG=5.7
cp local-docker-compose.yml docker-compose.yml
docker-compose up
(Note configured JUPYTER_PASSWORD
)Use Case | MATLAB Code |
---|---|
Run all tests | run(Main) |
Run one class of tests | run(TestTls) |
Run one specific test | runtests('TestTls/TestTls_testInsecureConn') |
Run tests based on test name | import matlab.unittest.TestSuite; import matlab.unittest.selectors.HasName; import matlab.unittest.constraints.ContainsSubstring; suite = TestSuite.fromClass(?Main, ... HasName(ContainsSubstring('Conn'))); run(suite) |
localhost:8888
New > MATLAB
mym_app_1
i.e. docker exec -it mym_app_1 bash
matlab
mym_app_1
i.e. docker exec -it mym_app_1 bash
matlab -nodisplay
ghtb.install('datajoint/mym')
mym
mym
mym.mltbx
locallymym.mltbx
locally