{"id":22842877,"url":"https://github.com/neuroml/neuromltoolbox","last_synced_at":"2026-03-19T23:48:01.674Z","repository":{"id":149213789,"uuid":"78100679","full_name":"NeuroML/NeuroMLToolbox","owner":"NeuroML","description":"NeuroML 2 toolbox for MATLAB","archived":false,"fork":false,"pushed_at":"2023-11-30T14:13:03.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-02-06T09:25:48.224Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NeuroML.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2017-01-05T09:48:54.000Z","updated_at":"2023-11-30T14:05:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"92d10b22-084f-441d-81e9-ccfc555367fe","html_url":"https://github.com/NeuroML/NeuroMLToolbox","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NeuroML%2FNeuroMLToolbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NeuroML%2FNeuroMLToolbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NeuroML%2FNeuroMLToolbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NeuroML%2FNeuroMLToolbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NeuroML","download_url":"https://codeload.github.com/NeuroML/NeuroMLToolbox/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246418641,"owners_count":20773938,"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-12-13T02:11:21.485Z","updated_at":"2026-01-08T16:41:42.433Z","avatar_url":"https://github.com/NeuroML.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# NeuroML Toolbox\n\nThe NeuroML 2 toolbox for MATLAB works by facilitating access to the [Java NeuroML 2 API][jNeuroML] functionality directly within Matlab.\n\n## Installation\n\nInstall [jNeuroML][] following the instructions at https://github.com/NeuroML/jNeuroML.\nThe quickest route is to go to https://github.com/NeuroML/jNeuroML/releases,\ndownload the latest jNeuroML.zip file, and unzip somewhere suitable on your machine.\n\nRun Matlab and run the `prefdir` command to find the location of your preferences folder.\nCreate a file `javaclasspath.txt` within that folder containing, on a single line,\nthe full path to the `jNeuroML-\u003cversion\u003e-jar-with-dependencies.jar` file you unpacked above.\n\nFor example, on my Mac the preferences folder is\n```\n/Users/name/Library/Application Support/MathWorks/MATLAB/R2016b\n```\nand so I created `/Users/name/Library/Application Support/MathWorks/MATLAB/R2016b/javaclasspath.txt` containing\n```\n/Users/name/projects/jNeuroMLJar/jNeuroML-0.7.7-jar-with-dependencies.jar\n```\nThe specific paths will vary on your machine.\n\nNow restart Matlab and it will know how to find the jNeuroML classes.\n\nYou can test that it is working by trying to validate a NeuroML file:\n\n```matlab\nimport org.neuroml.model.util.NeuroML2Validator\nfile = java.io.File('/full/path/to/model.nml');\nvalidator = NeuroML2Validator();\nvalidator.validateWithTests(file);\ndisp(validator.getValidity())\n```\n\n## Examples\n\nThere are further examples of usage in [examples/run_examples.m](examples/run_examples.m).\n\n[jNeuroML]: https://github.com/NeuroML/jNeuroML\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneuroml%2Fneuromltoolbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneuroml%2Fneuromltoolbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneuroml%2Fneuromltoolbox/lists"}