1

can anyone tell me how to add the "MATLAB Function" block to a simulink model which I am constructing programmatically? Once I add it, I will also need to know how to modify the code, which doesn't seem to be hiding inside any of the parameters I get from get_param(my_fcn_block,'ObjectParameters').

As a workaround I'm currently saving a customised block to my library and inserting this with add_block('my_lib/my_fcn_block','my_fcn_block')

2

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.