Skip to content
Snippets Groups Projects
Commit 653f8175 authored by Federico Felici's avatar Federico Felici
Browse files

Cosmetic cleanups

Removed a warning
Added a try-catch
Added some fprintf for clarity
parent 20351325
No related merge requests found
......@@ -74,6 +74,8 @@ classdef SCDclass_mdspar < matlab.mixin.Heterogeneous
% Not abstract methods common to all child classes
methods
function mdsconnect(obj, shot)
assert(~~exist('mdsconnect','file'),...
'SCD:NoMDS','mdsconnect not found, are the mds matlab tools installed?')
mdsconnect(obj.mdsserver);
s=mdsopen(obj.mdstree, shot);
str=sprintf('SCDclass_mdsparam (%s), failed opening MDS+ tree', obj.modelparam);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment