{"id":22549944,"url":"https://github.com/openmodelica/omscilab","last_synced_at":"2026-02-04T16:02:44.255Z","repository":{"id":68758561,"uuid":"273512183","full_name":"OpenModelica/OMScilab","owner":"OpenModelica","description":"OpenModelica Scilab interface","archived":false,"fork":false,"pushed_at":"2020-06-20T09:48:22.000Z","size":388,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":22,"default_branch":"master","last_synced_at":"2025-02-02T10:16:41.462Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Scilab","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/OpenModelica.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":"2020-06-19T14:23:17.000Z","updated_at":"2024-08-29T13:20:58.000Z","dependencies_parsed_at":"2023-09-23T14:35:23.941Z","dependency_job_id":null,"html_url":"https://github.com/OpenModelica/OMScilab","commit_stats":{"total_commits":2,"total_committers":2,"mean_commits":1.0,"dds":0.5,"last_synced_commit":"40b640723721b79bed515707efe777ec9de57d1c"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenModelica%2FOMScilab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenModelica%2FOMScilab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenModelica%2FOMScilab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenModelica%2FOMScilab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OpenModelica","download_url":"https://codeload.github.com/OpenModelica/OMScilab/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246001194,"owners_count":20707853,"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-07T16:10:28.966Z","updated_at":"2026-02-04T16:02:39.204Z","avatar_url":"https://github.com/OpenModelica.png","language":"Scilab","readme":"# OMScilab\nOpenModelica Scilab interface\n\n\n# Requirement:\n[Openmodelica](https://www.openmodelica.org/)\u003cbr\u003e\n[Scilab](https://www.scilab.org/)\u003cbr\u003e\n[zeromq/jeromq](https://github.com/zeromq/jeromq)\u003cbr\u003e\n\nThe jeromq/zeromq library can be build by following the instructions in the repository, or the users can use the pre-build \"jeromq-0.4.4-SNAPSHOT.jar\" available in this repository and start using it straight away.\n\n# Installation\nClone the repository and create configuration file \"scilab.ini\" file in SCIHOME directory, For Example \u003cbr\u003e\n```\nfrom the scilab terminal,\n--\u003e SCIHOME\n SCIHOME  = \n  \"C:\\Users\\arupa54\\AppData\\Roaming\\Scilab\\scilab-6.1.0\"\n\nwill show the SCIHOME directory location and create a new configuration file \"scilab.ini\" and add the following two commands\n\njavaclasspath(\"C:/OPENMODELICAGIT/OpenModelica/OMScilab/jeromq-0.4.4-SNAPSHOT.jar\")\nexec('C:\\OPENMODELICAGIT\\OpenModelica\\OMScilab\\OMScilab.sce', -1)\n\nNote the path must be changed according to your location where you have downloaded.\nthe javaclasspath should be added in order to use the zeromq bindings in scilab alternatively the javaclasspath can also be added via terminal, but will not be available for \nfuture session and the next time when you open scilab you have to again load the javaclasspath for the zeromq bindings\n```\n\n# Usage\n```\n--\u003e exec('C:\\OPENMODELICAGIT\\OpenModelica\\OMScilab\\OMScilab.sce', -1) // this can be done via scilab.ini also\n--\u003e omc=OMScilab();\n--\u003e sendExpression(omc, \"getVersion()\")\n    \"OpenModelica v1.16.0-dev-504-g895c6490e0 (64-bit)\"\n--\u003e omc.sendExpression(omc, \"model a end a;\")\n    \"{a}\"\n--\u003e sendExpression(omc, \"loadFile(\"\"C:/OPENMODELICAGIT/OpenModelica/OMCompiler/Examples/BouncingBall.mo\"\")\")\n    \"true\"\n--\u003e sendExpression(omc, \"getClassNames()\")\n    {a,BouncingBall}\n\u003e\u003e\u003e sendExpression(omc, \"simulate(BouncingBall)\")\n    \"record SimulationResult\n    resultFile = \"C:/Users/arupa54/Documents/BouncingBall_res.mat\",\n    simulationOptions = \"startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-006, method = 'dassl', fileNamePrefix = 'BouncingBall', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''\",\n    messages = \"LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.\nLOG_SUCCESS       | info    | The simulation finished successfully.\n\",\n    timeFrontend = 0.0175727,\n    timeBackend = 0.0521742,\n    timeSimCode = 0.0133503,\n    timeTemplates = 0.0493333,\n    timeCompile = 9.613113,\n    timeSimulation = 0.2236613,\n    timeTotal = 9.9726137\nend SimulationResult; \"\n\n\u003e\u003e\u003e sendExpression(omc, quit())\n```\n\nTo see the list of available OpenModelicaScripting API see    (https://www.openmodelica.org/doc/OpenModelicaUsersGuide/latest/scripting_api.html\n\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenmodelica%2Fomscilab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenmodelica%2Fomscilab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenmodelica%2Fomscilab/lists"}