octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #49830] xlsread difference vs. matlab


From: Steven Weinberg
Subject: [Octave-bug-tracker] [bug #49830] xlsread difference vs. matlab
Date: Mon, 12 Dec 2016 22:09:26 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko

URL:
  <http://savannah.gnu.org/bugs/?49830>

                 Summary: xlsread difference vs. matlab
                 Project: GNU Octave
            Submitted by: wstevena
            Submitted on: Mon 12 Dec 2016 10:09:24 PM GMT
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: steve weinberg
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.2.0
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

Matlab:


[a,b,c] = xlsread('test1.xlsx','restrictions','c2:f7')

a =

         0.01         0.01         0.01         0.01


b = 

     {}


c = 

    [ NaN]    [ NaN]    [ NaN]    [ NaN]
    [ NaN]    [ NaN]    [ NaN]    [ NaN]
    [0.01]    [0.01]    [0.01]    [0.01]
    [ NaN]    [ NaN]    [ NaN]    [ NaN]
    [ NaN]    [ NaN]    [ NaN]    [ NaN]
    [ NaN]    [ NaN]    [ NaN]    [ NaN]

Octave:

[a,b,c] = xlsread('test1.xlsx','restrictions','c2:f7')
a =

   0.010000   0.010000   0.010000   0.010000

b = {}(0x0)
c =
{
  [1,1] =  0.010000
  [1,2] =  0.010000
  [1,3] =  0.010000
  [1,4] =  0.010000


The difference in the third output, c, is causing problems. I am using io
2.4.5.  






    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 12 Dec 2016 10:09:24 PM GMT  Name: test1.xlsx  Size: 9kB   By:
wstevena

<http://savannah.gnu.org/bugs/download.php?file_id=39206>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?49830>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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