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); '
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); '