Resize Engine
R2026bUpdate Engine Resize Callback
If you want to resize the engine, you must first update the engine resize callback in the mask editor:
Open the engine dynamometer model. In the MATLAB® Command window, enter this command.
EngineDynamometer
To open the mask editor, right-click the engine resize block you are using and select View Mask:
Resize SI Engine and Recalibrate Controller, orResize CI Engine and Recalibrate Controller.Select the Code tab.
Locate
ResizeEngButton_callback().Replace
'resize'with'resizenomsk'.% Callback for ResizeEngButton function ResizeEngButton_callback() autoicon('autolibsiengresize',gcb,'resizenomsk'); end
In the toolstrip, click Save Mask, and then close the mask editor.
Resize Engine
Open the Block Parameters dialog box for the engine resize block you are using:
Resize SI Engine and Recalibrate Controller, orResize CI Engine and Recalibrate Controller.Enter the resize parameters.
Click Resize Engine.

Wait until the status bar of the
EngineDynamometermodel indicates that the model is ready.Save and close the engine dynamometer model.