Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion interfaces/import_wizard/private/WizardFinish.m
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,9 @@ function openUntitled( str, fname )
if ~getMTEXpref('SaveToFile')
try
EditorServices = com.mathworks.mlservices.MLEditorServices;
if ~verLessThan('matlab','7.11')
if ~verLessThan('matlab','9.13')
matlab.desktop.editor.newDocument(str);
elseif ~verLessThan('matlab','7.11')
EditorServices.getEditorApplication.newEditor(str);
else
EditorServices.newDocument(str,true);
Expand Down Expand Up @@ -562,3 +564,4 @@ function openUntitled( str, fname )
end

end