| Real-Time Workshop | ![]() |
Limitations of External Mode
In general, you cannot change a parameter if doing so results in a change in the structure of the model. For example, you cannot change:
If you cause any of these changes to the block diagram, then you must rebuild the program with newly generated code.
However, parameters in transfer function and state space representation blocks can be changed in specific ways:
Error Conditions
If the Simulink block diagram does not match the external program, Simulink displays an error box informing you that the checksums do not match (i.e., the model has changed since you generated code). This means you must rebuild the program from the new block diagram (or reload the correct one) in order to use external mode.
If the external program is not running, Simulink displays an error informing you that it cannot connect to the external program.
| Running the External Program | Program Architecture | ![]() |
Learn more about the latest releases of MathWorks products: |
| © 1994-2009 The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |