필터 지우기
필터 지우기

Unexpected data type for Run-Time Parameter: how to solve this

조회 수: 2 (최근 30일)
Akm Arafat
Akm Arafat 2021년 8월 24일
답변: Kumar Pallav 2021년 10월 25일
Hello,
I am running into this issue while using Simscape. It says Unexpected data type for Run-Time Parameter...Type 'single' does not match the expected type: 'double'.

답변 (1개)

Kumar Pallav
Kumar Pallav 2021년 10월 25일
Please refer this solution for a similar problem. You may need to explicitly set the data types to avoid the mismatch of datatypes. Double click on the inports and outports (or any other approriate block where the data type is set to AUTO). Now click on the "Signal Attributes" tab, and then for the "Data type" property, explicitly specify the data type (e.g. double) attribute of the signal for those ports.

카테고리

Help CenterFile Exchange에서 Physical Units에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by