Hi,
This might be one of the basic doubts, but still going to ask it
When i run a code i get the output as
opcon =
1×1 cell array
{'tc'}
I want the output t o is be
opcon = tc
How do i change it ?

2 件のコメント

madhan ravi
madhan ravi 2020 年 6 月 8 日
Are you using MATLAB?
Ganesh Kini
Ganesh Kini 2020 年 6 月 8 日
Yes Madhan

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

 採用された回答

その他の回答 (1 件)

madhan ravi
madhan ravi 2020 年 6 月 8 日

0 投票

Opcon = cell2mat({'tc'}) % assuming they argument is a scalar

カテゴリ

ヘルプ センター および File ExchangeMatrices and Arrays についてさらに検索

質問済み:

2020 年 6 月 8 日

回答済み:

2020 年 6 月 8 日

Community Treasure Hunt

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

Start Hunting!

Translated by