Update the custom storage class for package without restarting Matlab
3 views (last 30 days)
Show older comments
Hello to all,
I defined a custom storage class for package using cscdesigner to handle calibrable parameters as a pointer.
After generating code using this class, I would like to change its characteristics and regenerate code without rebooting Matlab.
Does anyone know if that’s possible?
Thanks.
Salvatore
0 Comments
Answers (1)
Subhajyoti
on 9 Sep 2024
Edited: Subhajyoti
on 9 Sep 2024
You can use the ‘Custom Storage Class Designer’ to create or edit storage classes that a data class package defines and apply the storage class for data objects. Whenever you generate code using the ‘Embedded Coder’, it will generate codes for the latest system-design, without rebooting MATLAB.
The following documentation has explanation and examples providing clear guidance for step-by-step ‘Create and Apply Storage Class Defined in User-Defined Package’:
You can refer to the following MathWorks documentation links to learn more about ‘Finely Control Data Representation by Writing TLC Code for a Storage Class’:
I hope this helps.
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!