MATLAB Answers

How to read a value of S function popup in C code?

4 views (last 30 days)
srikanth balla
srikanth balla on 29 Aug 2018
Commented: zhou on 14 Nov 2018
I have masked a S function in which popup menu(ex: CAN1,CAN2,CAN3) is added. i need to get the selected index in C code.


Sign in to comment.

Accepted Answer

TAB on 29 Aug 2018
Just like Inputs and Outputs there are S-function APIs to access the parameters.
Please check


Show 2 older comments
srikanth balla
srikanth balla on 30 Aug 2018
I have tried with S-function builder, Added popup Mask parameter for S-function builder and built the S-function. it has created .c and .tlc file but it does not have code of popup Mask parameter.
srikanth balla
srikanth balla on 4 Sep 2018
I have resolved it, Thank you for your suggestion
zhou on 14 Nov 2018
Hello, Can you tell me the solvement?
Thank you!

Sign in to comment.

More Answers (0)




Community Treasure Hunt

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

Start Hunting!