We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent daeac9a commit be973b6Copy full SHA for be973b6
RATapi/wrappers.py
@@ -25,7 +25,12 @@ def start_matlab():
25
26
"""
27
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()
32
33
+ os.environ["RAT_PATH"] = dir_path, "")
34
os.environ["MATLAB_INSTALL_DIR"] += os.pathsep + "C:\\Program Files\\MATLAB\\R2023a\\bin\\win64"
35
engine = RATapi.rat_core.MatlabEngine()
36
engine.start()
0 commit comments