LabTalk function to split RGB value


Version: 2023b

Type: Features

Category: Programming

Subcategory: LabTalk

Jira: ORG-26316


A new function rgb() is added to split RGB value. It will be very useful for getting separate RGB value from image type matrix cell.

Syntax: int rgb(int val, string channel)

channel can be “r”, “g”, “b”, “a”