Simulink Error/Warning: "Signal with under-specified data types" in Motor Control Blockset blocks

조회 수: 8 (최근 30일)
When updating my model I encounter "Signal with under-specified data types" with Motor Control Blockset blocks i.e. Position generator, Sine-cosine Lookup, Park Transform.
Specifying the data types of all input and output signals as suggested in https://de.mathworks.com/matlabcentral/answers/92822-why-do-i-get-a-warning-about-under-specified-data-types-in-my-simulink-model#answer_102172 and depicted below does not solve the warning/error for any of the blocks.
What can I do to resolve these warnings without deactivating all under-specified data type warnings?
Thanks for your help!

채택된 답변

Fangjun Jiang
Fangjun Jiang 2024년 1월 2일
set the "Output data type" of that "Data Type Conversion" block to be 'single', instead of leaving it as default.
  댓글 수: 2
Felix
Felix 2024년 1월 3일
That would solve it, but as I would only modify the local library file this is not synchronizable via source control, correct?
I'm looking for a solution that works for a team.
Fangjun Jiang
Fangjun Jiang 2024년 1월 3일
Modify your local library file and then update/synchronize with your repository. The solution has nothing to do with source control.
Selecting the "back propagation" might be better suited for a library component as it might be used for different data types.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 C2000 Microcontroller Blockset에 대해 자세히 알아보기

제품


릴리스

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by