StateSpace Object / Properties not found

Open
#18 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
30/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
java
Domain
data

Research direction

Start at line 590 of MatFileReader and inspect how the attached statespace.zip is currently parsed, including the returned MLArray and MLUInt32 values. Compare that result with the MATLAB state-space and mpc objects, then define the target Java representation and tests that demonstrate those objects are read correctly.

Written by the indexing model from the issue text.

Description

enhancement

Hi there,
anybody in the same position, that wanted to read a state space object ?
I can comment out the throw exception on line 590 in MatFileReader
throw new IllegalStateException("Properties are not found! Not sure where to look ..."); but that would get me a MLArray, which is not same as on Matlab.
I appended an example. I did the same on a mpc-object. That created a MLUInt32 [6x1 array] for the plant, which isn't excatly what I wanted (another struct would be preferably)

statespace.zip

Dominant language
Java
Stars
62
Forks
12
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from diffplug/matfilerw

All issues in diffplug/matfilerw

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.