Error: File: Expression or statement is incorrect--possibly unbalanced (, {, or [
Afficher commentaires plus anciens
fprintf(fid3,'%d \t %f \t %f \t %s \n',person,faceweight, fpweight,str1);
2 commentaires
faaruuq jamaludin
le 8 Mar 2018
Modifié(e) : Stephen23
le 8 Mar 2018
Stephen23
le 8 Mar 2018
@faaruuq jamaludin: Your code is badly aligned. Badly aligned code is one way that beginners hide mistakes and bugs in their code. You should use the default alignment of the MATLAB editor: select all code, the press ctrl+i.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Programming dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!