[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Failing to load a matlab saved strel
From: |
Toby Darling |
Subject: |
Failing to load a matlab saved strel |
Date: |
Thu, 1 Dec 2016 17:05:28 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 |
Hi
I'm trying to get octave 4.2.0 to load a strel from a file generated by
matlab (2016b).
In matlab:
>> x = strel('disk', 1, 0)
>> x =
strel is a disk shaped structuring element with properties:
Neighborhood: [3×3 logical]
Dimensionality: 2
>> save from_matlab x
Back in octave:
octave:1> load from_matlab.mat
octave:2> whos x
Variables in the current scope:
Attr Name Size Bytes Class
==== ==== ==== ===== =====
x 1x1 24 struct
Total is 1 element using 24 bytes
octave:3> x
x =
scalar structure containing the fields:
MCOS =
3707764736
2
1
1
1
1
strel =
error: octave_base_value::print (): wrong type argument '<unknown type>'
Am I missing a trick? Any pointers appreciated.
Cheers
Toby
--
Toby Darling, Scientific Computing (2N249)
MRC Laboratory of Molecular Biology
Francis Crick Avenue
Cambridge Biomedical Campus
Cambridge CB2 0QH
Phone 01223 267070
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Failing to load a matlab saved strel,
Toby Darling <=