The expression to the left of the equals sign is not a valid target for an assignment
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
laura
el 19 de Abr. de 2016
Comentada: laura
el 19 de Abr. de 2016

I am writing a code for calculating some stress. The base is half the height. The height changes and is from 50 to 400. Am I doing the interval correctly? I keep getting this error message.
0 comentarios
Respuesta aceptada
Walter Roberson
el 19 de Abr. de 2016
You are trying to mix MATLAB code with C++ code. Remove everything up to and including the "{" and remove the "}"
Also change the h^3 to h.^3 . The h^3 is valid MATLAB syntax but it means something different than what you need.
Más respuestas (0)
Ver también
Categorías
Más información sobre Stress and Strain en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!