Borrar filtros
Borrar filtros

i can run vtol example

10 visualizaciones (últimos 30 días)
hamed farajzadeh
hamed farajzadeh el 9 de Abr. de 2024
Respondida: Piyush Kumar el 24 de Jul. de 2024 a las 10:52
hello
i want to run vtol example but i cant . i allways recive this error:
=== Simulation (Elapsed: 38 sec) ===
Error:Variant control 'TestMode==1' used by block 'VTOLTiltrotor/Guidance Test Bench/ControlType' must return a logical value.
Caused by:
Unrecognized function or variable 'TestMode'.
Variable 'TestMode' does not exist.
Suggested Actions:
Load a file into base workspace.
Create a new variable.
Error:Variant control 'TestMode==0' used by block 'VTOLTiltrotor/Guidance Test Bench/ControlType' must return a logical value.
Caused by:
Unrecognized function or variable 'TestMode'.
Variable 'TestMode' does not exist.
Suggested Actions:
Load a file into base workspace.
Create a new variable.
what can i do?

Respuestas (1)

Piyush Kumar
Piyush Kumar el 24 de Jul. de 2024 a las 10:52
Please define "TestMode" variable in the base workspace and run the Simulation again.
TestMode = 1; % depending on your needs, may be 0
If you are trying to tune Control Design for VTOL UAV in Hover Configuration, please check this link.

Etiquetas

Productos


Versión

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by