Data type mismatch-Compare To Zero' is a signal of data type 'boolean'. However, it is driving a signal of data type 'double'.
18 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Rok Tavcar
el 4 de Abr. de 2018
Respondida: ParulVivekSunder
el 28 de Oct. de 2024 a las 7:46
Hi,
ell me how to bypass this error: Data type mismatch. Output port 1 of 'shema_omejitve_1_1_regout_ver5/ regulator toka (q)/Compare To Zero' is a signal of data type 'boolean'. However, it is driving a signal of data type 'double'. I am using Matlab ver 2016b.
0 comentarios
Respuestas (2)
Birdman
el 4 de Abr. de 2018
Use a Data Type Conversion block to put it in front of your Compare To Zero block to convert the data type to double.
0 comentarios
ParulVivekSunder
el 28 de Oct. de 2024 a las 7:46
Data type mismatch-Compare To Zero' is a signal of data type 'boolean'. However, it is driving a signal of data type 'double'. I am facing this issue while preparing a model for my quadcopter. please help me
0 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!