How to solve this error ?

4 visualizzazioni (ultimi 30 giorni)
OSAMA
OSAMA il 8 Gen 2025
Risposto: Walter Roberson il 8 Gen 2025

Risposte (1)

Walter Roberson
Walter Roberson il 8 Gen 2025
Those are warnings, not errors.
You remove the warnings by aligning the end statements with the start of their corresponding control statement.
Typically it is easiest to just highlight all of the code, and press the editor "Smart Indent" button, which is the button that looks vaguely like a Σ character in the lower-middle of the "CODE" portion of the tool ribbon. The button is typically underneath the '%' button.

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by