MATLAB: Is there a typo in the documentation of the SAVE_SYSTEM function within SIMULINK 6.5 (R2006b)

simulink

If I execute the following code:
doc save_system
I can find a typo in the last example. An inverted comma is missing.
It should read as:
save_system('vdp','myvdp','','R13SP1')
instead of
save_system('vdp','myvdp','','R13SP1)
If we exceute this example, we get the following error:
??? save_system('vdp','myvdp','','R13SP1)
|
Error: A MATLAB string constant is not terminated properly.

Best Answer

This is an error within the documentation for the SAVE_SYSTEM function in SIMULINK 6.5 (R2006b). The documentation should read as follows:
This command saves the vdp system to Simulink Version R13SP1 with the name 'myvdp'. It does not replace links to library blocks with copies of the library blocks.
save_system('vdp','myvdp','','R13SP1')