reference
labkit.app.project.emptySourceRecords
Create an empty portable source collection.
Syntax
records = labkit.app.project.emptySourceRecords()Description
Returns a zero-row struct collection with the same durable field shape as labkit.app.project.sourceRecord. App project factories use this value so the first file selection can assign a portable source without exposing or duplicating its field schema.
Outputs
records- Empty column collection of portable source records.
Failure Behavior
None - The function accepts no inputs and returns the canonical empty collection deterministically.
Example
project.inputs.sources = labkit.app.project.emptySourceRecords();
assert(isempty(project.inputs.sources))Related APIs
labkit.app.project.sourceRecord— Create a portable source value during project migration.labkit.app.project.Schema— Declare one durable App project contract.
Source
This page is generated from the MATLAB help text in +labkit/+app/+project/emptySourceRecords.m.