Skip to content

Commit eb5c74e

Browse files
rashedmytprabhakk-mw
authored andcommitted
Infrastructural updates to improve support for Symbolic Math rendering.
1 parent 3bf4042 commit eb5c74e

File tree

1 file changed

+6
-1
lines changed
  • src/jupyter_matlab_kernel/matlab/+jupyter

1 file changed

+6
-1
lines changed

src/jupyter_matlab_kernel/matlab/+jupyter/execute.m

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,12 @@
214214
persistent idler;
215215

216216
if isempty(webwindow)
217-
url = 'toolbox/matlab/codetools/liveeditor/index.html';
217+
% Use liveeditor index.html in older MATLAB versions
218+
if isMATLABReleaseOlderThan("R2026a")
219+
url = 'toolbox/matlab/codetools/liveeditor/index.html';
220+
else
221+
url = 'toolbox/matlab/editor/application/index.html';
222+
end
218223

219224
% MATLAB versions R2020b and R2021a requires specifying the base url.
220225
% Not doing so results in the URL not being loaded with the error

0 commit comments

Comments
 (0)