octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: matlab namespace


From: Carnë Draug
Subject: Re: matlab namespace
Date: Mon, 20 Nov 2017 15:06:23 +0000

On 20 November 2017 at 10:29, Richard Crozier <address@hidden> wrote:
> On 26/10/17 08:32, Richard Crozier wrote:
>>
>> Dear List,
>>
>> Matlab are gradually introducing the use of namespaces, with a base
>> namespace of 'matlab', e.g. matlab.lang.makeValidName is replacing
>> genvarname.
>>
>> My question is, how is Octave planning to deal with this? This is
>> important for writing portable code, for instance I already have tests in my
>> code for whether an object is of class 'matlab.graphics.axis.Axes' (for
>> checking input).
>>
>> Will Octave use 'matlab', or replace 'matlab' with 'octave'? Or some other
>> solution?
>>
>> Regards,
>>
>> Richard
>>
>
>
> No thoughts on the above at all?
>
> Richard

Actually, I just came across a similar issue last week.  A colleague
was trying to run Matlab code in Octave that made use of the
matlab.mixin.heterogeneous class [1]

Maybe it's possible to import an entire namespace into another so we
could import matlab.* into the octave namespace?

Carnë

[1] 
https://uk.mathworks.com/help/matlab/ref/matlab.mixin.heterogeneous-class.html



reply via email to

[Prev in Thread] Current Thread [Next in Thread]