wait
R2026bSyntax
Description
wait( blocks the MATLAB® command prompt until all simulations associated with the
f)simulink.multisim.Future object f complete. If
simulations have already finished or failed, wait returns without
blocking.
Examples
Input Arguments
Tips
waitdoes not return a value.Use
waitinstead offetchOutputswhen you do not need to load the results into memory. Consider usingwaitwithmultisimDatastoreto process results incrementally.fetchOutputscallswaitinternally, so you only need to callwaitseparately if you want to check state or timing properties before fetching outputs.
Version History
Introduced in R2024a