Filter löschen
Filter löschen

i can run vtol example

10 Ansichten (letzte 30 Tage)
hamed farajzadeh
hamed farajzadeh am 9 Apr. 2024
Beantwortet: Piyush Kumar am 24 Jul. 2024 um 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?

Antworten (1)

Piyush Kumar
Piyush Kumar am 24 Jul. 2024 um 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

Produkte


Version

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by