{"id":19721979,"url":"https://github.com/datajoint/datajoint-matlab","last_synced_at":"2025-04-29T22:30:32.746Z","repository":{"id":4718492,"uuid":"5866661","full_name":"datajoint/datajoint-matlab","owner":"datajoint","description":"Relational data pipelines for the science lab","archived":false,"fork":false,"pushed_at":"2023-07-14T11:59:28.000Z","size":5408,"stargazers_count":42,"open_issues_count":62,"forks_count":39,"subscribers_count":25,"default_branch":"master","last_synced_at":"2025-04-05T19:51:15.404Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"MATLAB","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/datajoint.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2012-09-19T03:46:15.000Z","updated_at":"2024-01-12T18:05:43.000Z","dependencies_parsed_at":"2023-02-16T11:16:20.716Z","dependency_job_id":"e2affff9-d388-4b75-ba97-799dde1915ce","html_url":"https://github.com/datajoint/datajoint-matlab","commit_stats":null,"previous_names":[],"tags_count":32,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datajoint%2Fdatajoint-matlab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datajoint%2Fdatajoint-matlab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datajoint%2Fdatajoint-matlab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datajoint%2Fdatajoint-matlab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datajoint","download_url":"https://codeload.github.com/datajoint/datajoint-matlab/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251592897,"owners_count":21614440,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T23:16:08.198Z","updated_at":"2025-04-29T22:30:31.733Z","avatar_url":"https://github.com/datajoint.png","language":"MATLAB","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![View DataJoint on File Exchange](https://www.mathworks.com/matlabcentral/images/matlab-file-exchange.svg)](https://www.mathworks.com/matlabcentral/fileexchange/63218-datajoint)\n\n# Welcome to DataJoint for MATLAB!\n\nDataJoint for MATLAB is a high-level programming interface for relational databases designed to support data processing chains in science labs. DataJoint is built on the foundation of the relational data model and prescribes a consistent method for organizing, populating, and querying data.\n\nFor more information, see our\n[general DataJoint docs](https://datajoint.com/docs/) and\n[DataJoint MATLAB docs](https://datajoint.com/docs/additional-resources/).\n\n## For Developers: Running Tests Locally\n\n\u003cdetails\u003e\n\u003csummary\u003eClick to expand details\u003c/summary\u003e\n\n+ Create an `.env` with desired development environment values e.g.\n\n``` sh\nMATLAB_USER=rguzman\nMATLAB_LICENSE=IyBCRUd... # For image usage instructions see https://github.com/guzman-raphael/matlab, https://hub.docker.com/r/raphaelguzman/matlab\nMATLAB_VERSION=R2019a\nMATLAB_HOSTID=XX:XX:XX:XX:XX:XX\nMATLAB_UID=1000\nMATLAB_GID=1000\nMYSQL_TAG=5.7\nMINIO_VER=RELEASE.2022-01-03T18-22-58Z\n```\n\n+ `cp local-docker-compose.yaml docker-compose.yaml`\n+ `docker-compose up` (Note configured `JUPYTER_PASSWORD`)\n+ Select a means of running MATLAB e.g. Jupyter Notebook, GUI, or Terminal (see bottom)\n+ Add `tests` directory to path e.g. in MATLAB, `addpath('tests')`\n+ Run desired tests. Some examples are as follows:\n\n| Use Case                     | MATLAB Code                                                                    |\n| ---------------------------- | ------------------------------------------------------------------------------ |\n| Run all tests                | `run(Main)`                                                              |\n| Run one class of tests       | `run(TestTls)`                                                           |\n| Run one specific test        | `runtests('TestTls/TestTls_testInsecureConn')`                                   |\n| Run tests based on test name | `import matlab.unittest.TestSuite;`\u003cbr\u003e`import matlab.unittest.selectors.HasName;`\u003cbr\u003e`import matlab.unittest.constraints.ContainsSubstring;`\u003cbr\u003e`suite = TestSuite.fromClass(?Main, ... `\u003cbr\u003e\u003ccode\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003c/code\u003e`HasName(ContainsSubstring('Conn')));`\u003cbr\u003e`run(suite)`|\n\n### Launch Jupyter Notebook\n\n+ Navigate to `localhost:8888`\n+ Input Jupyter password\n+ Launch a notebook i.e. `New \u003e MATLAB`\n\n### Launch MATLAB GUI (supports remote interactive debugger)\n\n+ Shell into `datajoint-matlab_app_1` i.e. `docker exec -it datajoint-matlab_app_1 bash`\n+ Launch Matlab by running command `matlab`\n\n### Launch MATLAB Terminal\n\n+ Shell into `datajoint-matlab_app_1` i.e. `docker exec -it datajoint-matlab_app_1 bash`\n+ Launch Matlab with no GUI by running command `matlab -nodisplay`\n\n\u003c/details\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatajoint%2Fdatajoint-matlab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatajoint%2Fdatajoint-matlab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatajoint%2Fdatajoint-matlab/lists"}