MATLAB Answers

Data type work vector name must less than 31 characters long

조회 수: 1(최근 30일)
Zoe Yuan
Zoe Yuan 2021년 8월 23일
댓글: Zoe Yuan 2021년 8월 24일
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.

채택된 답변

Jonas
Jonas 2021년 8월 23일
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'.

추가 답변(1개)

Fangjun Jiang
Fangjun Jiang 2021년 8월 23일
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

Community Treasure Hunt

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

Start Hunting!

Translated by