We build script and functions that automate the build process. We programmatically insert the bur_config block and update the parameter programmatically. It worked well for us until we upgraded to MATLAB 2023b and Target 6.9.0.
We would get the following error: “AutomationStudioTargetForSimulink:InspectPhysicalSettings - Please refresh the following settings in the B&R Config Block: Configuration Name, Automation Studio Project Path. Additional information: It is not possible to build into a referenced Automation Studio Configuration.”
If we manually open the config block and click “okay”, it seems like a callback was triggered and then the model can build.
But this manual process breaks our automatic build process.
Could you share what the callback did or how to programmatically build model? I think this is related to configuration references. We started the model with a configuration reference and then active the modified configuration before the insertion of the block.