@@ -22,9 +22,6 @@ export mxarray, mxsparse, delete,
2222 mxstruct, mxstructarray, mxnfields, get_fieldname, get_field, set_field,
2323 jvalue, jarray, jscalar, jvector, jmatrix, jsparse, jstring, jdict
2424
25- # mstatments
26- export mstatement
27-
2825# engine & matfile
2926export MSession, MatFile,
3027 get_default_msession, restart_default_msession, close_default_msession,
@@ -46,7 +43,6 @@ include("init.jl") # initialize Refs
4643include (" mxbase.jl" )
4744include (" mxarray.jl" )
4845include (" matfile.jl" )
49- include (" mstatements.jl" )
5046include (" engine.jl" )
5147include (" matstr.jl" )
5248
172168#
173169# ##########################################################
174170
175- function nfields (mx:: MxArray )
176- Base. depwarn (" MATLAB.nfields is deprecated, use mxnfields instead." , :nfields )
177- return mxfields (mx)
178- end
179-
180- @deprecate jvariable jvalue
181-
182- function jvariable (mx:: MxArray , ty:: Type{AbstractString} )
183- Base. depwarn (" jvariable(mx::MxArray,ty::Type{AbstractString}) is
184- deprecated, use jvalue(mx::MxArray,ty::Type{String}) instead.
185- We now default to more strict typing on String types" , :jvariable )
186- return jstring (mx):: String
187- end
188-
189- @deprecate duplicate (mx:: MxArray ) copy (mx:: MxArray )
190-
191- @deprecate mxempty () mxarray (Float64,0 ,0 )
192-
193- export @matlab
194- macro matlab (ex)
195- Base. depwarn (" @matlab is deprecated, use custom string literal mat\"\" instead." , :matlab )
196- :( MATLAB. eval_string ($ (mstatement (ex))) )
197- end
198171
199172end
0 commit comments