how to use variable that is in command window

if i have this result in command window
s=[1 2 3 4]
how to use this variable in another command

1 件のコメント

muhammad ismat
muhammad ismat 2015 年 6 月 15 日
assignin('base', 'var1', s)

サインインしてコメントする。

回答 (0 件)

カテゴリ

タグ

質問済み:

2015 年 6 月 15 日

コメント済み:

2015 年 6 月 15 日

Community Treasure Hunt

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

Start Hunting!

Translated by