Effacer les filtres
Effacer les filtres

i can run vtol example

10 vues (au cours des 30 derniers jours)
hamed farajzadeh
hamed farajzadeh le 9 Avr 2024
Réponse apportée : Piyush Kumar le 24 Juil 2024 à 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?

Réponses (1)

Piyush Kumar
Piyush Kumar le 24 Juil 2024 à 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.

Tags

Produits


Version

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by