bugGNU Octave - Bugs: bug #42013, mxCreateSharedDataCopy not...

 
 

bug #42013: mxCreateSharedDataCopy not supported

Submitter:  Alois Schlögl <schloegl>
Submitted:  Mon 31 Mar 2014 09:32:45 AM UTC
   
 
Category:  Libraries Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Matlab Compatibility
Status:  Wont Fix Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 3.8.1 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 10 Sep 2016 02:54:12 AM UTC, comment #1: 

Apparently mxCreateSharedDataCopy was never a documented part of the MEX interface and Matlab has now disavowed it.  The solution that you discovered is the correct one: Use mxDuplicateArray.


Rik <rik5>
Group administrator
Mon 31 Mar 2014 09:32:45 AM UTC, original submission:  


Trying to compile and use mtimesx [1] fails with this runtime error:

error: mtimesx_test_nd: mtimesx.mex: failed to load: mtimesx.mex: undefined symbol: mxCreateSharedDataCopy


Replacing mxCreateSharedDataCopy(..) by mxDuplicateArray(..) seems to be a workaround. However, it might cause performance penalty and/or memory leaks.


-- Alois


[1] http://www.mathworks.com/matlabcentral/fileexchange/25977-mtimesx-fast-matrix-multiply-with-multi-dimensional-support

Alois Schlögl <schloegl>

 

(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 rik5 (Posted a comment)
  • -email is unavailable- added by schloegl (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-09-10 rik5 StatusNone Wont Fix
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code