How I can run two different functions at the same time ?
Afficher commentaires plus anciens
function [ add, sub] = inp(x,y)
add= x+ y;
sub=x-y;
end
function [ mul,div ] =iput(x,y)
mul=x*y;
div=x/y;
end
These two functions are in differnt script .I am running them differntly .But I want to do it in a single time because in both case my inputs are same .So how I can do it ?
Réponse acceptée
Plus de réponses (1)
Catégories
En savoir plus sur Variables dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!