How to display result in Text Area in Matlab Appdesigner
Mostra commenti meno recenti
Hi, I have a problem here where I could not display my result of the equation in the text area.
Below is the code.
The app.EIRP.Value is the text area.
pt = app.ouputpower.Value;
lbo = app.backoffloss.Value;
lbf = app.eartbranchingloss.Value;
at = app.antennagain.Value;
lu = app.uplinkloss.Value;
lp = app.pathloss.Value;
gte = app.gteratio.Value;
bfb = app.satbranchingloss.Value;
br = app.bitrate.Value;
app.EIRP2 = pt+at-lbo-lbf;
app.EIRP.Value = num2str(eval(app.EIRP2));
1 Commento
Zain Ul Abidin
il 25 Apr 2021
Spostato: Adam Danz
il 23 Nov 2022
How Can I add nultiple line in a single text area using differnt sprint commands
Risposta accettata
Più risposte (2)
Bill Llach
il 16 Apr 2022
Modificato: Bill Llach
il 16 Apr 2022
0 voti
if you have a complex number vector just use:
evalc('anything')
Example:
someArray = [1 2 1 2];
theThingYouWantToShow = roots(someArray);
%theThingYouWantToShow is a vector with complex numbers (if you can show this, you can show anything :) (I guess) )
app.SomeTextArea.Value = evalc('theThingYouWantToShow');
1 Commento
Also see formattedDisplayText
Diego Roa
il 21 Nov 2022
0 voti
¿Como imprimir una función de transferencia en un texteditfield ?
Categorie
Scopri di più su Develop Apps Using App Designer in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
