I have an S-function block and I would like to have the 'S-function name' parameter as a variable that contains the name of the DLL-file (excutable for the S-function). In this way, I can modify the variable in the MATLAB workspace and do not have to change the S-function name parameter of the S-function block.
MATLAB: How to make the ‘S-function name’ parameter in the S-function block variable
evaluatesimulinksprintf
Related Question
- Is there an example of using SET_PARAM command in a MATLAB file S-function to update a parameter of any block in the model
- S-function ソースコード管理について
- Is there an example that demonstrates how to access parameters located in an S-function mask from within an S-function in Simulink
- Symbolic vectors ‘invalid variable name’
Best Answer