Skip to content

Error: COMETS_HOME environmental variable is not set #8

@2132030

Description

@2132030

I am using Linux and MATLAB_R2021b. I'm trying to run the comets simulation with this code:

runComets(layout,cometsDirectory)
I got this Error:
Error using runCometsOnDirectory
COMETS_HOME environmental variable is not set

' %% Add COMETS Java Classpath to MATLAB
cometshome = getenv('COMETS_HOME');
if isempty(cometshome)
error('COMETS_HOME environmental variable is not set')
end
gurobihome = getenv('GUROBI_HOME');
if isempty(gurobihome)
error('GUROBI_HOME environmental variable is not set')
end
javaclasspath(cometshome); % add COMETS classpath to MATLAB
javaclasspath(gurobihome); '

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