Add Vector Property to C++ class
显示 更早的评论
I'm experimenting with the C++ interface (clibgen and clib). I would like to create a class that:
- Takes a vector length in the constructor
- Stores the vector (and length, let's say as veclen)
- 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 Exchange 中查找有关 Build MATLAB Interface to C/C++ Library 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!