Update the custom storage class for package without restarting Matlab

2 次查看(过去 30 天)
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

回答(1 个)

Subhajyoti
Subhajyoti 2024-9-9
编辑:Subhajyoti 2024-9-9
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.

类别

Help CenterFile Exchange 中查找有关 Programming 的更多信息

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by