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