What does Unexpected Matlab expression mean?

This is my code.
formatPlanet = input('What is the name of the exoplanet? ');
This is all I have so far but each time I try to input a planet name (ex: Kepler-452b) it keeps giving me the unexpected message. What should I do and how can I fix this code.

 采纳的回答

formatPlanet = input('What is the name of the exoplanet? ', 's');

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Earth and Planetary Science 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by