MATLAB: Do I receive an error when a Mux or Bus Creator include both synchronous and asynchronous function calls in Simulink 6.1 (R14SP1)

asynchronouscallfunctionportsamplesimulinksynchronoustime

When I try to build the attached model, I receive the following error:
Port-based 'bug/Software/RTB2' has not set the sample time for output port 1 even though all the input port sample times have been set.

Best Answer

This behavior has been addressed in Simulink 6.2 (R14SP2). In previous releases, Simulink displayed the above error when a Mux or Bus Creator included both synchronous and asynchronous function calls. In Release 14SP2, this condition as been disallowed (synchronous and asynchronous triggers may not be combined), and Simulink generates an appropriate error. The new error message reads:
Synchronous and asynchronous triggers may not be combined; 'bug/Mux1' is attempting to combine synchronous and asynchronous triggers.