openmdao-bridge-matlab
An OpenMDAO component for running analyses in MATLAB.
Science Score: 54.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
✓Academic publication links
Links to: zenodo.org -
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (5.1%) to scientific vocabulary
Keywords
Repository
An OpenMDAO component for running analyses in MATLAB.
Basic Info
Statistics
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 1
- Releases: 9
Topics
Metadata Files
README.md
OpenMDAO-Bridge-MATLAB
An OpenMDAO component for running analyses in MATLAB.
Prerequisites/Installation
You will need a Conda environment to install the bridge in. Within your Conda environment, run the following:
conda install -c ovidner openmdao-bridge-matlab
Usage
Let's say you have a MATLAB function defined like so:
```matlab function [outa, outb] = fun(ina, inb)
outa = ... outb = ...
end ```
Then you can use it as an OpenMDAO component, perhaps something like this:
```python import openmdao.api as om from openmdaobridgematlab import MatlabFunctionComp, MatlabVar
prob = om.Problem()
matlabcomp = MatlabFunctionComp( functionname="fun", inputs=[ MatlabVar(name="in1", mlname="ina", value=1), MatlabVar(name="in2", mlname="inb", value=1), ], outputs=[ MatlabVar(name="out1", mlname="outa", value=0, units="m"), MatlabVar(name="out2", mlname="outb", value=0), ], ) prob.model.addsubsystem("matlabcomp", matlab_comp)
prob.setup() prob.setval("matlabcomp.in1", 5) prob.runmodel() prob.getval("matlabcomp.out_1", units="mm") ```
Owner
- Name: Olle Vidner
- Login: ovidner
- Kind: user
- Location: Linköping, Sweden
- Company: Linköping University @DesignAutomationLaboratory
- Website: https://se.linkedin.com/in/ovidner
- Repositories: 61
- Profile: https://github.com/ovidner
PhD student, mechanical engineer and developer. I like coffee, optimization, automation, the question "why?" and German easy-listening music from 1967–1973.
Citation (CITATION.cff)
cff-version: 1.2.0
message: "If you use this software, please cite it using the metadata supplied in the CITATION.cff file."
doi: 10.5281/zenodo.4316483
title: "OpenMDAO-Bridge-MATLAB"
authors:
- family-names: Vidner
given-names: Olle
affiliation: Linköping University
orcid: https://orcid.org/0000-0002-1157-2480
license: MIT
repository-code: https://github.com/ovidner/openmdao-bridge-matlab
GitHub Events
Total
Last Year
Committers
Last synced: about 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| Olle Vidner | o****e@v****e | 25 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: about 1 year ago
All Time
- Total issues: 0
- Total pull requests: 2
- Average time to close issues: N/A
- Average time to close pull requests: 4 months
- Total issue authors: 0
- Total pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.5
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 2
Past Year
- Issues: 0
- Pull requests: 1
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 1
Top Authors
Issue Authors
Pull Request Authors
- dependabot[bot] (3)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- openmdao *
- actions/checkout v2 composite
- actions/download-artifact v2 composite
- actions/upload-artifact v2 composite
- conda-incubator/setup-miniconda v2 composite