Re: [julia-users] Using MATLAB error

2016-01-03 Thread Yao Lu
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  > 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  
> 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? 
> >> 
>


Re: [julia-users] Using MATLAB error

2016-01-03 Thread Eric Forgy
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  
>> 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  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? 
>> >> 
>>
>

Re: [julia-users] Using MATLAB error

2015-12-28 Thread Stefan Karpinski
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  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?
>


Re: [julia-users] Using MATLAB error

2015-12-28 Thread 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  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  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?
>>


Re: [julia-users] Using MATLAB error

2015-12-28 Thread cdm

also, what system and julia version are you on ...

per   https://github.com/JuliaLang/MATLAB.jl

The procedure to setup this package consists of three steps.

Linux
1 ~ Make sure matlab is in executable path.
2 ~ Make sure csh is installed. (Note: MATLAB for Linux relies on csh to 
open an engine session.)

3 ~ Clone this package from the GitHub repo to your Julia package directory
 


for more detail and/or other systems, review
the information at the repo linked above ...

good luck !!!

~ cdm


On Monday, December 28, 2015 at 8:32:40 AM UTC-8, Mauro wrote:
>
> So, as cdm said: are you sure that you don't have a typo? 
>
>