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 ExchangeCall 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