openmdao-bridge-matlab

An OpenMDAO component for running analyses in MATLAB.

https://github.com/ovidner/openmdao-bridge-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

matlab openmdao
Last synced: 6 months ago · JSON representation ·

Repository

An OpenMDAO component for running analyses in MATLAB.

Basic Info
  • Host: GitHub
  • Owner: ovidner
  • License: mit
  • Language: Python
  • Default Branch: master
  • Homepage:
  • Size: 32.2 KB
Statistics
  • Stars: 1
  • Watchers: 1
  • Forks: 1
  • Open Issues: 1
  • Releases: 9
Topics
matlab openmdao
Created over 6 years ago · Last pushed over 1 year ago
Metadata Files
Readme License Citation

README.md

OpenMDAO-Bridge-MATLAB

DOI

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

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

All Time
  • Total Commits: 25
  • Total Committers: 1
  • Avg Commits per committer: 25.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email 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 (3) github_actions (2)

Dependencies

setup.py pypi
  • openmdao *
.github/workflows/main.yml actions
  • actions/checkout v2 composite
  • actions/download-artifact v2 composite
  • actions/upload-artifact v2 composite
  • conda-incubator/setup-miniconda v2 composite