Output variable in matlab function block of simulink is not of matlab type. How to resolve this?
Ältere Kommentare anzeigen
Hello buddies.. I'm currently working on finding and plotting BER for OFDM system using simulink. I use the embedded matlab function to implement the semianalytic function. Please find the code below.
function y = fcn(u,v)
eml.extrinsic('semianalytic');
EbNo = [0:1:50]
y = semianalytic(transmitsig,receivesig,'psk/nondiff',4,100,EbNo);
When I try to execute this code i get an error that output function y is not of matlab type. Please help me resolve this error soon. Many thanks in advance.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Simulink Functions finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!