Azzera filtri
Azzera filtri

i can run vtol example

10 visualizzazioni (ultimi 30 giorni)
hamed farajzadeh
hamed farajzadeh il 9 Apr 2024
Risposto: Piyush Kumar il 24 Lug 2024 alle 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?

Risposte (1)

Piyush Kumar
Piyush Kumar il 24 Lug 2024 alle 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.

Tag

Prodotti


Release

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by