Hi Yao Lu,
As Mauro mentioned, I don't think this is a problem with MATLAB.jl. I am
using it on 0.4.2 with no problems.
julia> versioninfo()
Julia Version 0.4.2
Commit bb73f34 (2015-12-06 21:47 UTC)
Platform Info:
System: Windows (x86_64-w64-mingw32)
CPU: Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz
WORD_SIZE: 64
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
LAPACK: libopenblas64_
LIBM: libopenlibm
LLVM: libLLVM-3.3
julia> using MATLAB
julia> x = [1,2,3]
3-element Array{Int64,1}:
1
2
3
julia> @mput x
julia> println(@mget x)
[1,2,3]
Are you sure you don't have a typo somewhere?
On Sunday, January 3, 2016 at 5:35:14 PM UTC+8, Yao Lu wrote:
>
> I know the reason. The package haven't passed the test for 0.4.
>
> 在 2015年12月29日星期二 UTC+8上午12:32:40,Mauro写道:
>>
>> 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?
>> >>
>>
>