when i write functions in matlab it not recognizing?
Mostra commenti meno recenti
function [hNest,hLocal] = functionsExample(v)
hNest = @nestFunction;
hLocal = @localFunction;
function y = nestFunction(x)
y = x + v;
end
end
function y = localFunction(z)
y = z + 1;
end
2 Commenti
Jan
il 24 Ott 2021
This is some code. What is the problem? Do you get an error message? If so, which one? When does the message appear, or in other words: how do you call this function?
Aravind Mallemputi
il 24 Ott 2021
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Programming 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!