MATLAB: Do I get a blank figure window in Notebook while using the LSIM function from MATLAB 6.5 (R13) with Word 2000

2000blankfiguregraphicslsimMATLABnotebookword

Why do I get a blank figure window in Notebook while using the LSIM function from MATLAB 6.5 (R13) with Word 2000?
I am evaluating a set of MATLAB commands and using LSIM to generate the time response of an LTI model. I get a blank figure window in Notebook instead of the LSIM plot. When I plot the figure in MATLAB and then paste it into Notebook, it works fine. How do I get around this problem?

Best Answer

This bug has been fixed for Release 14 (R14). For previous releases, please read below for any possible workarounds:
This appears to be a bug in MATLAB 6.5 (R13). This problem occurs due to the visibility of the figure being set to 'off' and Notebook using an invisible figure for rendering. Hence, this will create a blank figure using the FIGURE command before evaluating the Notebook commands will render the correct figure into Notebook.
As a workaround, please follow the steps listed below:
1. Start Notebook by typing the following at the MATLAB prompt:
notebook
2. Create a blank figure:
figure
3. Enter the following commands in Notebook:
[u,t] = gensig('square',4,10,0.1);
H = [tf([2 5 1],[1 2 3]) ; tf([1 -1],[1 1 5])];
lsim(H,u,t);
4.Select 'Evaluate Cells' on the above commands
You should now see the LSIM plot being rendered into Notebook.