Nice idea!
The files should also work without integrating them in a model right? When I run the files I get following error:
"Error using Sim_WaitBar (line 11)
Error due to multiple causes.
Caused by:
Error using Sim_WaitBar (line 11)
Errors occurred during parsing of MATLAB function 'Embedded MATLAB
Function'(#48)
Error using Sim_WaitBar (line 11)
Error in port widths or dimensions. Output port 1 of 'model/Embedded
MATLAB Function/u2' is a one dimensional vector with 1 elements.
"
29 May 2011
Simulink Waitbar
Allows user to see a progress bar for a simulink simulation when running the model from Matlab.
Author: Jeremy Schaeffer
Simulink Waitbar
Allows user to see a progress bar for a simulink simulation when running the model from Matlab.
Author: Jeremy Schaeffer
Dahl, Alexander
Simple and useful.
Few annotations:
* the output of the EML is not necessary, just delete the 'y=' in the first line and the other line with the assignement to y
* also works with waitbar alternative from http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=11398 you have to delete line 'h = waitbar(0,..' then and replace 'close(h)' with 'waitbar()'
* I didn't need the mexw32 file on two computers, Matlab creates this if it's missing
13 Mar 2007
Simulink Waitbar
Allows user to see a progress bar for a simulink simulation when running the model from Matlab.
Author: Jeremy Schaeffer
O'Leary, Neil
Cool waitbar
Add a zero order hold between the clock and EML block so avoid decrease in simulation speed.