How to create a unique output variable name based on input variable name in function
Mostra commenti meno recenti
I would really like this output variable to carry the name of my input variable.
That way I can harvest a list of variables in the workspace instead of having to manually change the name of the output variable after each function call.
I hope you understand what I would like to achieve.
This is my function:
.

.
=> the output variable name is always wavelengtha
BUT I would like it to be a "unique other" output variable name, preferably wavelengtha_x (depending on my x input) or just X or something like that
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Whos 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!