Output variable in matlab function block of simulink is not of matlab type. How to resolve this?
Mostrar comentarios más antiguos
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.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Simulink Functions en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!