i keep getting an error for the messagebox.
Ältere Kommentare anzeigen
prompt= 'What is your name?';
name = inputdlg(prompt);
msgbox(fprintf("Hello %s, in this game, you must answer the question correctly to progress and avoid being attacked", name));
% i have tried sprintf and no print command withing the msgbox command and i cant seem to stop recieving the same error
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Number games finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!