Skip to content

Commit 78e3c0c

Browse files
committed
ctx: load messages when creating the prime instance.
1 parent 9904fee commit 78e3c0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

+DSS_MATLAB/APIUtil.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,14 @@
4545
loadlibrary(DLLfilePath, @DSS_MATLAB.dss_capi_no_thunk);
4646
end
4747
calllib(obj.libname, 'DSS_Start', 0);
48-
% calllib(obj.libname, 'DSS_SetPropertiesMO', PropertiesMOfilePath);
4948
if (nargin > 0) && (varargin{1} ~= 0)
5049
obj.dssctx = calllib(obj.libname, 'ctx_New');
5150
DSS_MATLAB.ctxrefcount(obj.dssctx, 1);
5251
obj.is_prime = 0;
5352
else
5453
obj.dssctx = calllib(obj.libname, 'ctx_Get_Prime');
5554
obj.is_prime = 1;
55+
calllib(obj.libname, 'DSS_SetPropertiesMO', PropertiesMOfilePath);
5656
end
5757
warning(orig_state);
5858
end

0 commit comments

Comments
 (0)