I have a model that includes a linked subsystem. The linked subsystem uses bus I/O. When I try to build the subsystem, I get the following error:
Error generating S-function for block 'fullvehicle/EMS/EMS_app_sw/Mode_Logic' in block diagram 'fullvehicle'. MATLAB error message: Error using ==> set_param Cannot change param 'TreatAsAtomicUnit' of block 'Mode_Logic/Mode_Logic' because this block is a linked block. The parameter can only be changed on the master block in the library
However, when I build the system again, it works correctly.
Best Answer