Fcn block and complex number
1 view (last 30 days)
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
Answers (0)
See Also
Categories
Find more on Additional Math and Discrete 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!