What is SS_RTW_STORAGE_CUSTOM?
Show older comments
Hello Everyone
I want to create a variant, define in CodeGen .c file. I am using s-func, find SS_RTW_STORAGE_CUSTOM is defined in C:\Program Files\MATLAB\R2024b\simulink\include\rtw_storage.h.
I use it in C code for s-func: ssSetDWorkRTWStorageClass(S, 0, SS_RTW_STORAGE_CUSTOM). But CodeGenerator tells "Unknown error processing storage class: Custom".
Do I miss something to setup custome storage? I certainly want a custom storage like "MEM_CUSTOM_CAL", it works if I use a Simulink.Parameter variant. but how can I use it in s-func by ssSetDWorkxxxxxx or smiliar function.
Answers (0)
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!