Plotting graph in the appdesigner from the object handle - h
Mostra commenti meno recenti
Hi,
I have code below that plots the graph via object handle 'h'. I would like to embed this plot into appdesigner and I am having problem with doing that. Normally I would plot in the appdesigner with plot(app.UIAxes,x,y). How could I do it if I only have handle 'h' ?
RFCF1 = 2400e6; % 2.4 GHz
RFBW1 = 200e6; % 200 MHz
IFBW1 = 20e6; % 20 MHz
IMT1 = [99 0 21 17 26;
11 0 29 29 63;
60 48 70 86 41;
90 89 74 68 87;
99 99 95 99 99];
writecell(num2cell(IMT1), 'imt1.txt')
h = OpenIF('IFLocation', 'MixerOutput')
h.SpurFloor = 85;
addMixer(h,IMT1, RFCF1, RFBW1, 'low', IFBW1);
report(h);
figure(1);
show(h)
h.Mixers(1).MixingType = 'high';
report(h)
figure(2);
show(h);
Thank you,
Risposta accettata
Più risposte (1)
S.R.
il 17 Lug 2020
0 voti
6 Commenti
Adam Danz
il 18 Lug 2020
See the first comment within the code under step 4.
S.R.
il 18 Lug 2020
Adam Danz
il 19 Lug 2020
Which line is line 47? I don't think that error is from any of the lines in the code you shared above. If that line is generated from the code in my answer, please provide the entire error message and share the line of code producing the error.
Also, have you tried running only the code from my answer?
S.R.
il 20 Lug 2020
S.R.
il 20 Lug 2020
Adam Danz
il 20 Lug 2020
Sounds good! Glad I could help out.
Categorie
Scopri di più su Develop Apps Programmatically in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!