Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
What is the meaning of this error?
조회 수: 1 (최근 30일)
이전 댓글 표시
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
답변 (1개)
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)
댓글 수: 0
커뮤니티
더 많은 답변 보기: Power Electronics Community
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!