Skip to content

Commit be973b6

Browse files
committed
stuff
1 parent daeac9a commit be973b6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

RATapi/wrappers.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,12 @@ def start_matlab():
2525
2626
"""
2727

28+
path = os.path.join(os.path.dirname(os.path.realpath(__file__)), "matlab.txt")
29+
# if pathlib(matlab_path).is_file()
30+
with open(path) as path_file:
31+
matlab_path = path_file.read()
2832

33+
os.environ["RAT_PATH"] = dir_path, "")
2934
os.environ["MATLAB_INSTALL_DIR"] += os.pathsep + "C:\\Program Files\\MATLAB\\R2023a\\bin\\win64"
3035
engine = RATapi.rat_core.MatlabEngine()
3136
engine.start()

0 commit comments

Comments
 (0)