Main Content

getAllFileLogBlocks

Returns block paths corresponding to File Log blocks in application

Since R2022a

Description

example

allFileLogBlocks = getAllFileLogBlocks(app_object) returns a cell array of the block paths. These block paths corresponding to the File Log blocks in the real-time application. You can use the returned cell array to get or set the decimation value of the File Log blocks.

Examples

collapse all

Use the getAllFileLogBlocks function to get the block paths of File Log blocks in a real-time application object.

my_App = slrealtime.Application('slrt_ex_osc');
myFileLogBlocks = getAllFileLogBlocks(my_App)
myFileLogBlocks =

  2×1 cell array

    {["slrt_ex_osc/File Log"]}
    {["slrt_ex_osc/File Log"]}

Input Arguments

collapse all

Provides access to methods that manipulate the real-time application files.

Output Arguments

collapse all

The allFileLogBlocks returned by the getAllFileLogBlocks function contains the block paths of File Log blocks in the real-time application.

Version History

Introduced in R2022a