MATLAB app designer, Reading in arrays

3 ビュー (過去 30 日間)
tyler seudath
tyler seudath 2021 年 2 月 8 日
コメント済み: Sourabh Kondapaka 2021 年 2 月 11 日
Hi Everyone,
I am trying to read in arrays(eg,[1,2,3,4]) from a text edit field and convert it to a numerical value and perform mathematical operations to get a value. However, I am getting an error
'Value' must be a double scalar within the range of 'Limits'. Could someone assist please?
Thank you,
Tyler Seudath.
x=str2double(app.timedelay.Value);
y =str2double(app.Relativepower.Value);
%mean excess delay
numerical_value = (10.^(y./10));
a= numerical_value.* x;
mean_excess_delay= (a.*x)/sum(numerical_value);
app.aEditField.Value =mean_excess_delay;
  2 件のコメント
Sourabh Kondapaka
Sourabh Kondapaka 2021 年 2 月 11 日
The link provided in @Matt Gaidica's comment should help in resolving your query.
Please comment if you need more help.

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by