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