How to change variable name from known string?

 Accepted Answer

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

1 Comment

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

Sign in to comment.

More Answers (0)

Categories

Products

Community Treasure Hunt

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

Start Hunting!