|
"Robert " <notrust@lummert.net> wrote in message <hb3uvm$1or$1@fred.mathworks.com>...
> Hello,
>
> is there a way to use cvs keyword substitution in a simulink model without disabling external mode?
> I have models running in hardware-in-the-loop tests and frequently use the external mode to look up internal signals. On top level I use a text field for some general model information, and as we use cvs for configuration management I placed a keyword for substitution into that text box. Whenever I check a model in to cvs this will cause an update on the text field. When I want to connect to the realtime model after that I am denied access, because the model has "changed" and some checksum comparisons fail.
> How can I avoid this? Is there some region in the model file excluded from the checksum computation or can I influence the external mode to just check something like the models automatic version counter?
Hi Robert,
A change like that should not alter the checksum. You can use
[checksum, additionalInfo] = Simulink.BlockDiagram.getChecksum(model)
to get more information on the checksums for your model. Can you try this before and after the model has been checked into CVS?
Gavin
|