Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

What is the meaning of this error?

1 visualización (últimos 30 días)
Eng Engv
Eng Engv el 6 de Jul. de 2020
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
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

Respuestas (1)

Vasco Lenzi
Vasco Lenzi el 7 de Jul. de 2020
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)

Comunidades de usuarios

Más respuestas en  Power Electronics Control

Community Treasure Hunt

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

Start Hunting!

Translated by