[Top][All Lists]

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

Re: Question regards MATLAB code running on Octave

From: Neil Davey
Subject: Re: Question regards MATLAB code running on Octave
Date: Wed, 6 Oct 1999 13:00:08 +1000 (EST)

        I'm not sure if there is a 'correct' solution to this problem, but
I've attached a file that has your code block below functioning...


On 5 Oct 1999, Kanuengnij Kubola wrote:

> Hi ,
>    I just start using Octave. I got a problem to run the MATLAB Code on
> Octave. Can anyone point me out about this or where I can look at about this
> problem? Thanks a lot.
> #1.  about switch (), Here's the example of the problem
>      a = 'test'
>      switch (a)
>        case 'notatest' 
>               disp("This is not a test")
>       case 'test'
>               disp("Successful test!!")
>      end
> This code, it works OK on MATLAB, but it gives some error on Octave that is  
> error: operator ==: nonconformant arguments (op1 is 1x4, op2 is 1x8)
> Does anyone familiar with this problem? Could you please help me out?
> nid 
> ____________________________________________________________________
> Get free email and a permanent address at
> ---------------------------------------------------------------------
> Octave is freely available under the terms of the GNU GPL.  To ensure
> that development continues, see
> Instructions for unsubscribing:
> ---------------------------------------------------------------------

Neil Davey
Postgraduate Research Student
Radio Science Laboratory
School of Microelectronic Engineering
Griffith University, Nathan, QLD Australia 4111
Ph: 3875 5574
Fax: 3875 5198
Mobile: 0414 662 110


        Life is but a journey involving bigger and bigger fences

        Linux - Don't fear the penguin......

Attachment: test.m
Description: Text document

reply via email to

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