MATLAB: Using replace_block with Simscape

replaceSimscape

I want to replace a simscape block with another one. This doens't work:
replace_block('vdp','Constant Area Pneumatic Orifice','fl_lib/Pneumatic/Pneumatic Elements/Variable Area Pneumatic Orifice','noprompt')
What am I doing wrong? Thanks in Advanced

Best Answer

  • Just tried the same command as you and it works fine on my end... although the block name stays the same. Is that maybe the case for you too?
    - Sebastian