Unrecognized function or variable 'guess_my_number'.
Mostra commenti meno recenti
How I can solve the function?
I'm doing the course now and in the lesson number 5 we have a simple exercise with the function called 'guess_my_number', but when I'm trying to use it, Matlab says the next:''Unrecognized function or variable'' or ''Not enough input arguments''. I'm using the free trial of Matlab R2020a.
function guess_my_number(x)
if x == 2
fprintf('Congrats! You guessed my number!\n');
end
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su App Building in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!