JuliaInterop / JuliaInterop/MATLAB.jl

When I use MATLAB. jl to draw, VScode will directly disable my Julia.

Open
#239 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Julia
Stars
286
Forks
64
PR merge metrics
No merged PRs in 30d

Description

When I use MATLAB. jl to draw, VScode will directly disable my Julia. But I don't know where the problem lies.

using MATLAB
X1=1;Y1=1;Z1=1;
X2=1;Y2=1;Z2=1;
X3=1;Y3=1;Z3=1;
mat"figure;scatter3($X1,$Y1,$Z1, 'b', 'filled');hold on;scatter3($X2,$Y2,$Z2, 'r', 'filled');hold on;scatter3($X3,$Y3,$Z3, 'g', 'filled')"

Image
The VScode error result is shown above, but my MATLAB will pop up a MATLAB command window as shown below. Did I make a mistake? I reinstalled MATLAB and jl, but it still doesn't work

Image

Contributor guide

No contributing guide indexed for this repository

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

Start by reproducing the provided MATLAB.jl snippet in VS Code and compare the VS Code error image with the MATLAB command window behavior. The payload names no source file or test, so locate the integration entry point and determine whether the failure is in MATLAB Engine startup or the plotting call. Done means identifying the cause and documenting or fixing the reproducible failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia, matlab
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.