mathworks / mathworks/docmaker

docerrun crash with ```matlab block containing Simulink open_system code

Open
#10 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
MATLAB
Stars
9
Forks
3
Avg merge
13d 10h
Merged PRs (30d)
2

Description

Trying to set up a copy code block which opens a Simulink library.

docrun crashes MATLAB when running on this html page.

GasMixtureHome.md

GasMixture_lib.zip

Works if Simulink and the library are already open before calling docrun. Appears to be problem when library opening takes a long time i.e. Simulink not started.

Workaround currently to open library first.

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.

Research direction

Reproduce the crash by running docrun on the attached GasMixtureHome.md with GasMixture_lib.zip while Simulink and the library are initially closed. Start at the docrun handling for the MATLAB block and open_system call; done means the HTML page runs without crashing MATLAB in that startup condition.

Written by the indexing model from the issue text.

Assessment

Tech stack
matlab
Domain
documentation, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.