You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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); '
The text was updated successfully, but these errors were encountered:
Of course, you need to edit it to your system, the first line is setting the variable that is missing in your case. Set it to wherever you installed Comets. Let me know how it goes.
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); '
The text was updated successfully, but these errors were encountered: