This works for me:

julia> using MATLAB

julia> x=[1,2,3]
3-element Array{Int64,1}:
 1
 2
 3

julia> @mput x
A MATLAB session is open successfully

on 0.3 and 0.4.1 (with lots of deprecation warnings)

@mxput does not exist:

julia> @mxput x
ERROR: UndefVarError: @mxput not defined

So, as cdm said: are you sure that you don't have a typo?

On Mon, 2015-12-28 at 16:19, Stefan Karpinski <[email protected]> wrote:
> I'm not sure how many users of the MATLAB package there are here. You may
> want to file an issue with the package if you're having trouble getting it
> working.
>
> On Mon, Dec 28, 2015 at 1:46 AM, Yao Lu <[email protected]> wrote:
>
>> I installed MATLAB packages.
>> "Pkg.add("MATLAB")
>> ENV["MATLAB_HOME"]="F:\\MATLAB\\R2015b\\bin"
>> using MATLAB
>> x=[1,2,3]"
>> The codes above are OK.
>> When I type   "@mxput x",
>> it shows   "ERROR: UndefVarError: @mput not defined".
>> What's wrong?
>>

Reply via email to