How to create an empty pointer of type struct?

Hello every one,
here is my code
classdef stack_ptr <handle
properties
node = struct('item',{},'next_ptr',{}) %% next_ptr is the pointer
end
end
I'm trying to create a pointer called 'next_ptr' of type struct 'node'.
any ideas?

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Call C from MATLAB 的更多信息

提问:

2019-10-24

编辑:

2019-10-24

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by