How can I change a component size in MATLAB system composer by means of APIs (command line or MATLAB code) ?
Kshitij Singh answered .
2025-11-20
architectureModel = systemcomposer.loadModel('MyArchitecture');
myComponent = lookup(architectureModel, Path='MyArchitecture/MyComponent')
myComponent.Position = [100 100 100 100]