You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Michelle Sands edited this page Nov 11, 2025
·
2 revisions
Minimal Documentation
Look into HardwareComponent and ComponentProperties to see how they are laid out. Every HardwareComponent subclass has an associated ComponentProperties file that defines all defaults, verification methods, requirements, and behaviour for every property of the device.
Notes
When working with a ComponentProperty that takes a vector as its value (e.g. camera ROI - see CameraComponent and CameraComponentProperties for examples of this), you should format it as a string, then just use str2num and num2str to convert when necessary to interface with the hardware itself. The StimControl software uses some of Matlab's built-in table/struct/transposition tools that don't play well with non-scalar numeric values.