Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

What is the meaning of this error?

조회 수: 1 (최근 30일)
Eng Engv
Eng Engv 2020년 7월 6일
마감: MATLAB Answer Bot 2021년 8월 20일
I have a pulse generator for a three-phase inverter
Then the pulses were inserted into a function to make the changes I needed
And this error appeared

답변 (1개)

Vasco Lenzi
Vasco Lenzi 2020년 7월 7일
When you are using MATLAB function block, you need to carefully adjust data types. MATLAB works naturally with all doubles. You can either use the data type conversion block listed above by Hyunuk, or you can control MATLAB function interfaces using the Ports and Data Manager from the MATLAB function block toolstrip.
Additionally you may need to reassess the operation in your MATLAB function and eventually "cast" the data type in your operations, such as a = x * double (b)

커뮤니티

더 많은 답변 보기:  Power Electronics Community

Community Treasure Hunt

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

Start Hunting!

Translated by