How to get Tabledata and break point values using command line for look up table

6 visualizaciones (últimos 30 días)
I have been trying with
all_lookup_pname = find_system(gcs, 'FollowLinks', 'on', 'LookUnderMasks', 'all','LookUnderReadProtectedSubsystems','on','Table','Value');
its giving 0x1 response.

Respuestas (1)

Andy Bartlett
Andy Bartlett el 5 de Nov. de 2021
First, get an array of block paths by searching on 'BlockType', 'Lookup_n-D'.
Second, iterate over each block in that list to extract the parameters you are interested in, such as
textOfParamValue = get_param(curBlockPath,'Table')
To find the names of possible parameters of interest, look at the doc
or get the block's 'DialogParameter' information structure
>> dps = get_param(gcb,'DialogParameters')
dps =
struct with fields:
NumberOfTableDimensions: [1×1 struct]
DataSpecification: [1×1 struct]
LookupTableObject: [1×1 struct]
BreakpointsSpecification: [1×1 struct]
BreakpointsForDimension1Source: [1×1 struct]
BreakpointsForDimension1: [1×1 struct]
BreakpointsForDimension2Source: [1×1 struct]
BreakpointsForDimension2: [1×1 struct]
BreakpointsForDimension3Source: [1×1 struct]
BreakpointsForDimension3: [1×1 struct]
BreakpointsForDimension4: [1×1 struct]
BreakpointsForDimension5: [1×1 struct]
BreakpointsForDimension6: [1×1 struct]
BreakpointsForDimension7: [1×1 struct]
BreakpointsForDimension8: [1×1 struct]
BreakpointsForDimension9: [1×1 struct]
BreakpointsForDimension10: [1×1 struct]
BreakpointsForDimension11: [1×1 struct]
BreakpointsForDimension12: [1×1 struct]
BreakpointsForDimension13: [1×1 struct]
BreakpointsForDimension14: [1×1 struct]
BreakpointsForDimension15: [1×1 struct]
BreakpointsForDimension16: [1×1 struct]
BreakpointsForDimension17: [1×1 struct]
BreakpointsForDimension18: [1×1 struct]
BreakpointsForDimension19: [1×1 struct]
BreakpointsForDimension20: [1×1 struct]
BreakpointsForDimension21: [1×1 struct]
BreakpointsForDimension22: [1×1 struct]
BreakpointsForDimension23: [1×1 struct]
BreakpointsForDimension24: [1×1 struct]
BreakpointsForDimension25: [1×1 struct]
BreakpointsForDimension26: [1×1 struct]
BreakpointsForDimension27: [1×1 struct]
BreakpointsForDimension28: [1×1 struct]
BreakpointsForDimension29: [1×1 struct]
BreakpointsForDimension30: [1×1 struct]
BreakpointsForDimension1FirstPoint: [1×1 struct]
BreakpointsForDimension2FirstPoint: [1×1 struct]
BreakpointsForDimension3FirstPoint: [1×1 struct]
BreakpointsForDimension4FirstPoint: [1×1 struct]
BreakpointsForDimension5FirstPoint: [1×1 struct]
BreakpointsForDimension6FirstPoint: [1×1 struct]
BreakpointsForDimension7FirstPoint: [1×1 struct]
BreakpointsForDimension8FirstPoint: [1×1 struct]
BreakpointsForDimension9FirstPoint: [1×1 struct]
BreakpointsForDimension10FirstPoint: [1×1 struct]
BreakpointsForDimension11FirstPoint: [1×1 struct]
BreakpointsForDimension12FirstPoint: [1×1 struct]
BreakpointsForDimension13FirstPoint: [1×1 struct]
BreakpointsForDimension14FirstPoint: [1×1 struct]
BreakpointsForDimension15FirstPoint: [1×1 struct]
BreakpointsForDimension16FirstPoint: [1×1 struct]
BreakpointsForDimension17FirstPoint: [1×1 struct]
BreakpointsForDimension18FirstPoint: [1×1 struct]
BreakpointsForDimension19FirstPoint: [1×1 struct]
BreakpointsForDimension20FirstPoint: [1×1 struct]
BreakpointsForDimension21FirstPoint: [1×1 struct]
BreakpointsForDimension22FirstPoint: [1×1 struct]
BreakpointsForDimension23FirstPoint: [1×1 struct]
BreakpointsForDimension24FirstPoint: [1×1 struct]
BreakpointsForDimension25FirstPoint: [1×1 struct]
BreakpointsForDimension26FirstPoint: [1×1 struct]
BreakpointsForDimension27FirstPoint: [1×1 struct]
BreakpointsForDimension28FirstPoint: [1×1 struct]
BreakpointsForDimension29FirstPoint: [1×1 struct]
BreakpointsForDimension30FirstPoint: [1×1 struct]
BreakpointsForDimension1Spacing: [1×1 struct]
BreakpointsForDimension2Spacing: [1×1 struct]
BreakpointsForDimension3Spacing: [1×1 struct]
BreakpointsForDimension4Spacing: [1×1 struct]
BreakpointsForDimension5Spacing: [1×1 struct]
BreakpointsForDimension6Spacing: [1×1 struct]
BreakpointsForDimension7Spacing: [1×1 struct]
BreakpointsForDimension8Spacing: [1×1 struct]
BreakpointsForDimension9Spacing: [1×1 struct]
BreakpointsForDimension10Spacing: [1×1 struct]
BreakpointsForDimension11Spacing: [1×1 struct]
BreakpointsForDimension12Spacing: [1×1 struct]
BreakpointsForDimension13Spacing: [1×1 struct]
BreakpointsForDimension14Spacing: [1×1 struct]
BreakpointsForDimension15Spacing: [1×1 struct]
BreakpointsForDimension16Spacing: [1×1 struct]
BreakpointsForDimension17Spacing: [1×1 struct]
BreakpointsForDimension18Spacing: [1×1 struct]
BreakpointsForDimension19Spacing: [1×1 struct]
BreakpointsForDimension20Spacing: [1×1 struct]
BreakpointsForDimension21Spacing: [1×1 struct]
BreakpointsForDimension22Spacing: [1×1 struct]
BreakpointsForDimension23Spacing: [1×1 struct]
BreakpointsForDimension24Spacing: [1×1 struct]
BreakpointsForDimension25Spacing: [1×1 struct]
BreakpointsForDimension26Spacing: [1×1 struct]
BreakpointsForDimension27Spacing: [1×1 struct]
BreakpointsForDimension28Spacing: [1×1 struct]
BreakpointsForDimension29Spacing: [1×1 struct]
BreakpointsForDimension30Spacing: [1×1 struct]
BreakpointsForDimension1Min: [1×1 struct]
BreakpointsForDimension2Min: [1×1 struct]
BreakpointsForDimension3Min: [1×1 struct]
BreakpointsForDimension4Min: [1×1 struct]
BreakpointsForDimension5Min: [1×1 struct]
BreakpointsForDimension6Min: [1×1 struct]
BreakpointsForDimension7Min: [1×1 struct]
BreakpointsForDimension8Min: [1×1 struct]
BreakpointsForDimension9Min: [1×1 struct]
BreakpointsForDimension10Min: [1×1 struct]
BreakpointsForDimension11Min: [1×1 struct]
BreakpointsForDimension12Min: [1×1 struct]
BreakpointsForDimension13Min: [1×1 struct]
BreakpointsForDimension14Min: [1×1 struct]
BreakpointsForDimension15Min: [1×1 struct]
BreakpointsForDimension16Min: [1×1 struct]
BreakpointsForDimension17Min: [1×1 struct]
BreakpointsForDimension18Min: [1×1 struct]
BreakpointsForDimension19Min: [1×1 struct]
BreakpointsForDimension20Min: [1×1 struct]
BreakpointsForDimension21Min: [1×1 struct]
BreakpointsForDimension22Min: [1×1 struct]
BreakpointsForDimension23Min: [1×1 struct]
BreakpointsForDimension24Min: [1×1 struct]
BreakpointsForDimension25Min: [1×1 struct]
BreakpointsForDimension26Min: [1×1 struct]
BreakpointsForDimension27Min: [1×1 struct]
BreakpointsForDimension28Min: [1×1 struct]
BreakpointsForDimension29Min: [1×1 struct]
BreakpointsForDimension30Min: [1×1 struct]
BreakpointsForDimension1Max: [1×1 struct]
BreakpointsForDimension2Max: [1×1 struct]
BreakpointsForDimension3Max: [1×1 struct]
BreakpointsForDimension4Max: [1×1 struct]
BreakpointsForDimension5Max: [1×1 struct]
BreakpointsForDimension6Max: [1×1 struct]
BreakpointsForDimension7Max: [1×1 struct]
BreakpointsForDimension8Max: [1×1 struct]
BreakpointsForDimension9Max: [1×1 struct]
BreakpointsForDimension10Max: [1×1 struct]
BreakpointsForDimension11Max: [1×1 struct]
BreakpointsForDimension12Max: [1×1 struct]
BreakpointsForDimension13Max: [1×1 struct]
BreakpointsForDimension14Max: [1×1 struct]
BreakpointsForDimension15Max: [1×1 struct]
BreakpointsForDimension16Max: [1×1 struct]
BreakpointsForDimension17Max: [1×1 struct]
BreakpointsForDimension18Max: [1×1 struct]
BreakpointsForDimension19Max: [1×1 struct]
BreakpointsForDimension20Max: [1×1 struct]
BreakpointsForDimension21Max: [1×1 struct]
BreakpointsForDimension22Max: [1×1 struct]
BreakpointsForDimension23Max: [1×1 struct]
BreakpointsForDimension24Max: [1×1 struct]
BreakpointsForDimension25Max: [1×1 struct]
BreakpointsForDimension26Max: [1×1 struct]
BreakpointsForDimension27Max: [1×1 struct]
BreakpointsForDimension28Max: [1×1 struct]
BreakpointsForDimension29Max: [1×1 struct]
BreakpointsForDimension30Max: [1×1 struct]
BreakpointsForDimension1DataTypeStr: [1×1 struct]
BreakpointsForDimension2DataTypeStr: [1×1 struct]
BreakpointsForDimension3DataTypeStr: [1×1 struct]
BreakpointsForDimension4DataTypeStr: [1×1 struct]
BreakpointsForDimension5DataTypeStr: [1×1 struct]
BreakpointsForDimension6DataTypeStr: [1×1 struct]
BreakpointsForDimension7DataTypeStr: [1×1 struct]
BreakpointsForDimension8DataTypeStr: [1×1 struct]
BreakpointsForDimension9DataTypeStr: [1×1 struct]
BreakpointsForDimension10DataTypeStr: [1×1 struct]
BreakpointsForDimension11DataTypeStr: [1×1 struct]
BreakpointsForDimension12DataTypeStr: [1×1 struct]
BreakpointsForDimension13DataTypeStr: [1×1 struct]
BreakpointsForDimension14DataTypeStr: [1×1 struct]
BreakpointsForDimension15DataTypeStr: [1×1 struct]
BreakpointsForDimension16DataTypeStr: [1×1 struct]
BreakpointsForDimension17DataTypeStr: [1×1 struct]
BreakpointsForDimension18DataTypeStr: [1×1 struct]
BreakpointsForDimension19DataTypeStr: [1×1 struct]
BreakpointsForDimension20DataTypeStr: [1×1 struct]
BreakpointsForDimension21DataTypeStr: [1×1 struct]
BreakpointsForDimension22DataTypeStr: [1×1 struct]
BreakpointsForDimension23DataTypeStr: [1×1 struct]
BreakpointsForDimension24DataTypeStr: [1×1 struct]
BreakpointsForDimension25DataTypeStr: [1×1 struct]
BreakpointsForDimension26DataTypeStr: [1×1 struct]
BreakpointsForDimension27DataTypeStr: [1×1 struct]
BreakpointsForDimension28DataTypeStr: [1×1 struct]
BreakpointsForDimension29DataTypeStr: [1×1 struct]
BreakpointsForDimension30DataTypeStr: [1×1 struct]
IndexSearchMethod: [1×1 struct]
BeginIndexSearchUsingPreviousIndexResult: [1×1 struct]
UseOneInputPortForAllInputData: [1×1 struct]
TableSource: [1×1 struct]
Table: [1×1 struct]
TableMin: [1×1 struct]
TableMax: [1×1 struct]
TableDataTypeStr: [1×1 struct]
IntermediateResultsDataTypeStr: [1×1 struct]
InterpMethod: [1×1 struct]
ExtrapMethod: [1×1 struct]
DiagnosticForOutOfRangeInput: [1×1 struct]
RemoveProtectionInput: [1×1 struct]
UseLastTableValue: [1×1 struct]
ApplyFullPrecisionForLinearInterpolation: [1×1 struct]
SampleTime: [1×1 struct]
InternalRulePriority: [1×1 struct]
InputSameDT: [1×1 struct]
OutMin: [1×1 struct]
OutMax: [1×1 struct]
OutDataTypeStr: [1×1 struct]
LockScale: [1×1 struct]
RndMeth: [1×1 struct]
SaturateOnIntegerOverflow: [1×1 struct]
FractionDataTypeStr: [1×1 struct]
SupportTunableTableSize: [1×1 struct]
MaximumIndicesForEachDimension: [1×1 struct]

Categorías

Más información sobre Structures en Help Center y File Exchange.

Productos


Versión

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by