JuliaInterop / JuliaInterop/MATLAB.jl
Using MATLAB within multiple threads
Open
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 286
- Forks
- 64
- PR merge metrics
- No merged PRs in 30d
Description
I get read errors or stalling if I try to use MATLAB with multiple threads. If this is indeed impossible, maybe mention this in the README/docs.
MWE:
using MATLAB, Base.Threads
@threads for _ in 1:10
mat"1 + 1"
end
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running the Julia MWE using MATLAB and Base.Threads to reproduce the read errors or stalling. Then inspect the README/docs and the MATLAB Engine integration behavior around threaded calls; done means either the threaded case works reliably or the limitation and supported usage are clearly documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia, matlab
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100