How to change variable name from known string?

 Akzeptierte Antwort

Azzi Abdelmalek
Azzi Abdelmalek am 1 Jul. 2015

4 Stimmen

assignin('base',Old_var,'New_var')

1 Kommentar

Thank you, but another way around.
assignin('base','New_var', Old_var )

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu MATLAB finden Sie in Hilfe-Center und File Exchange

Produkte

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by