Skip to content

Commit c238d7b

Browse files
Improved warning message in getFundamentals.m
1 parent f400ae3 commit c238d7b

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

toolbox/utilities/getFundamentals.m

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -244,10 +244,11 @@
244244
end
245245

246246
if pe.ExecutionMode == "OutOfProcess"
247-
disp("ExecutionMode = python is currently running OutofProcess and can be slow")
248-
disp("To change execution mode type: terminate(pyenv) in the Command Window")
249-
% disp("quit and restart MATLAB")
250-
disp("type: pyenv('ExecutionMode', 'InProcess') in the Command Window")
247+
disp("The Python ExecutionMode is currently set to 'OutOfProcess', which may result in reduced performance.")
248+
disp(['To change the execution mode, first execute the following command in the Command Window:' newline ...
249+
' terminate(pyenv)'])
250+
disp(['Then execute:' newline ...
251+
' pyenv(''ExecutionMode'', ''InProcess'')'])
251252
end
252253
end
253254

0 commit comments

Comments
 (0)