Skip to content

Commit e79454f

Browse files
committed
[ci] test windows ci
1 parent 067bbaa commit e79454f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

base64decode.m

+3-2
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,10 @@
3434
output = zmat(varargin{1}, 0, 'base64');
3535
return
3636
elseif (isoctavemesh)
37-
try
37+
which('matlab.net.base64decode');
38+
if (~isempty(which('matlab.net.base64decode')))
3839
output = matlab.net.base64decode(varargin{1});
39-
catch
40+
else
4041
error('You must install the ZMat toolbox (http://github.com/NeuroJSON/zmat) to use this function in Octave');
4142
end
4243
end

0 commit comments

Comments
 (0)