How can I change the data access of a storage class Get/Set?
4 次查看(过去 30 天)
显示 更早的评论
I'm building a custom storage class package (cscdesigner) and I'd like to create a GetSet type that returns a pointer.
In order to do that, I'd need to modify the Data Access from Direct to Pointer or Instance Specific, but the CSCDesigner doesn't allow me to do this.
Any suggestions?
thanks
0 个评论
回答(1 个)
Julia Antoniou
2017-10-26
This is possible if you are able to change the type of your "GetSet" custom storage class (on the "General" tab of the CSCDesigner). If the type is set to "AccessFunction", you cannot change the data access field. If the type is set to "unstructured", you can change the data access field to "Pointer" or "Instance specific". If the type is set to "FlatStructure", you can change the data access field to "Pointer".
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!