MATRIXx

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I avoid automatic build of an User Code Block at SystemBuild

Hi,
 
I've created a simulation with a User Code Block at SystemBuild. I want the building process to be performed manually, so I changed the buildProcess tag in xml file which is generated by SystemBuild to "Manual". Unfortunately it doesn't work. When I try to execute the simulation, the xml file is overwriten, the buildProcess tag is set to "Automatic" and the software tries to build the library again. How can I avoid automatic build of an User Code Block at SystemBuild?
 
Thanks.
 
0 Kudos
Message 1 of 2
(8,040 Views)
The xml file generated when a UserCodeBlock is linked usually contains the following at the top of the file:

<DynamicLib xmlVersion="1"
            architecture="WIN32_DLL"
            rtLibLinkage="Dynamic"
            buildProcess="Automatic"
            debug="no">

To prevent sim from automatically rebuilding your UCB dll change the tag buildProcess to "Manual"

Bob Wilson
MATRIXx R&D

0 Kudos
Message 2 of 2
(8,037 Views)