Output variable in matlab function block of simulink is not of matlab type. How to resolve this?

1 次查看(过去 30 天)
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.

采纳的回答

Kaustubha Govind
Kaustubha Govind 2013-3-27
Please see my answer for a similar question that was previously asked.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Manage Products 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by