Update the custom storage class for package without restarting Matlab

31 ビュー (過去 30 日間)
Salvatore Maria Saccone
Salvatore Maria Saccone 2024 年 4 月 3 日
編集済み: Subhajyoti 2024 年 9 月 9 日
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 Center および File ExchangeFixed-Point Designer についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by