Skip to content

MATLAB code does not run / fails silently #201

@CharFox1

Description

@CharFox1

Environment:
Windows 10
Julia 1.6.2
MATLAB 2022a academic

I have been unable to run any code in julia that uses matlab successfully. Running the following code will open the matlab command window if it is not already but does nothing else. Furthermore, the print at the end does not show in the terminal or in matlab.

using MATLAB

mat"1+1"

println("done")

I tried running matlab -batch "comserver('register')" since I am on Windows but this results in a long error (I can include if needed) that always starts with com.mathworks.util.ShutdownRuntimeException: Java is shutting down. Really not sure what is going wrong or what I can do to fix it. Any help would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions