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
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/327917/image.png)
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)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/328076/image.png)
0 件のコメント
この質問は閉じられています。
コミュニティ
その他の回答 パワー エレクトロニクス コミュニティ
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!