bugGNU Octave - Bugs: bug #57774, fullfile error with cell array...

 
 

bug #57774: fullfile error with cell array input other than last

Submitted by:  Paul Netsaver <netsaver>
Submitted on:  Sat 08 Feb 2020 10:26:17 PM UTC  
 
Category:  Octave Function Severity:  2 - Minor
Priority:  3 - Low Item Group:  Matlab Compatibility
Status:  Confirmed Assigned to:  None
Originator Name:  Netsaver Paul Open/Closed:  Open
Release:  dev Operating System:  Any

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 08 Feb 2020 11:48:03 PM UTC, comment #1: 

Thank you for finding and describing this missing feature. Confirmed with Octave's development branch, and verified on Matlab's web site. Can you help improve fullfile to make this feature work in Octave?

Mike Miller <mtmiller>
Project Administrator
Sat 08 Feb 2020 10:26:17 PM UTC, original submission:  

It seems to be a difference with Matlab about function fullfile:

output = fullfile({'folder1','folder2'},'sub',{'f1.m','f2.m'})

it should accept inputs: folders={'folder1','folder2'} and files={'f1.m','f2.m'} as they have the same length.

In general it should accept cell-array-of-strings inputs whose length is 1 or N, producing in output a cell array of size 1xN:

output = {
[1,1] = folder1/sub/f1.m
[1,2] = folder2/sub/f2.m
}

Paul Netsaver <netsaver>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by netsaver (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-02-08 mtmiller Severity3 - Normal => 2 - Minor
        Priority5 - Normal => 3 - Low
        StatusNone => Confirmed
        Release5.2.0 => dev
        Operating SystemMicrosoft Windows => Any

    Back to the top


    Powered by Savane 3.5