Add Vector Property to C++ class

I'm experimenting with the C++ interface (clibgen and clib). I would like to create a class that:
  1. Takes a vector length in the constructor
  2. Stores the vector (and length, let's say as veclen)
  3. Can show the vector as a property
Is there a way to define the property and reference the stored vector length veclen as the length of the property?

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeCall C++ from MATLAB についてさらに検索

タグ

質問済み:

2020 年 1 月 7 日

編集済み:

2020 年 1 月 7 日

Community Treasure Hunt

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

Start Hunting!

Translated by