functions not supported by simulink coder
Show older comments
I have a function block in simulink and want to use the function "normcdf", but the simulink coder does not support this function. how can i overcome this issue ? thanks alot
Answers (1)
Kaustubha Govind
on 3 May 2013
0 votes
Unfortunately, this function is not in the list of MATLAB functions supported for code generation. You might need to implement a C-equivalent yourself (or try to find an equivalent third-part library function), and integrate it into a custom Simulink block.
5 Comments
pemfir
on 3 May 2013
Kaustubha Govind
on 3 May 2013
pemfir: Do you mean using coder.extrinsic? That only works if your block is executing within the MATLAB environment, it does not generate standalone code which is what Simulink Coder does.
pemfir
on 4 May 2013
Kaustubha Govind
on 6 May 2013
pemfir: Sorry, I have no experience in this area. You might want to get help from Statistics experts/forums.
pemfir
on 6 May 2013
Categories
Find more on Simulink Coder in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!