Data type work vector name must less than 31 characters long

4 views (last 30 days)
I used a parameter(not a vector) named as 'CBM_Indicated_Combustion_Torque ' , when I build model, it shows
How to fix it?
It required to set multitask data store to error in Data Validity block.

Accepted Answer

Jonas
Jonas on 23 Aug 2021
Try to increase the setting 'Maximum identifier length' from 31 to 63. It can be found in the Configuration Parameters under 'Code Generation' and then 'Identifiers'.

More Answers (1)

Fangjun Jiang
Fangjun Jiang on 23 Aug 2021
Assume you are using base workspace as data source, could run this in Command Window and inspect the "data type" property value?
open CBM_Indicated_Combustion_Torque

Categories

Find more on Multicore Processor Targets in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!