Skip to content

Commit a2aaa47

Browse files
committed
Python bool -> MATLAB logical
1 parent f674967 commit a2aaa47

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

code/matlab_py/py2mat.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,9 @@
167167
int64(x_py.second),...
168168
int64(x_py.microsecond));
169169

170+
case 'logical'
171+
x_mat = logical(x_py);
172+
170173
% punt
171174
otherwise
172175
% return the original item? nothing?

0 commit comments

Comments
 (0)