Any way to have a function return a variable dynamically
이전 댓글 표시
I want a function to return a variable with a dynamic name so returns variable mar19 for today. Is this possible
댓글 수: 1
Oleg Komarov
2012년 3월 19일
I pointed out one use with assignin but I would not recommend it.
Read http://matlab.wikia.com/wiki/FAQ#How_can_I_create_variables_A1.2C_A2.2C....2CA10_in_a_loop.3F which is strictly related and specifically concentrate on the dynamic structure.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!