Fcn block and complex number
Show older comments
Hi ,
I am new to simulink so trying out.
I connected a DQPSK Modulator block --> Fcn Block --> DQPSK Demodulator block. With u as input to Fcn,
I tried real(u) + i*imag(u)
I get the following error:
The expression: real(u) + i*imag(u)
in 'commexperiment1/Fcn'
has a syntax error
Question :
- What is wrong with the syntax?
- I dont have MEX so Matclab Function block fails as well.
Is there any other way to add custom functions in simulink?
thanks Venkatesh
1 Comment
Azzi Abdelmalek
on 28 Mar 2014
I don't see any error. Post the entire function
Answers (0)
Categories
Find more on Clocks and Timers in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!