MATLAB ヘルプ センター
Return the names of specified blocks in pipeline
Since R2023a
names = blockName(pipeline,blocks)
names = blockName(pipeline,blocks) returns the names of the blocks in the pipeline.
names
pipeline
blocks
example
collapse all
Import the pipeline and block objects needed for the example.
import bioinfo.pipeline.Pipeline import bioinfo.pipeline.block.*
Create a pipeline.
P = Pipeline;
Create a FileChooser block.
fcBlock = FileChooser(which("ex1.sam"));
Create a SamSort block.
ssBlock = SamSort;
Add blocks to the pipeline.
addBlock(P,[fcBlock,ssBlock]);
Retrieve the block names.
bNames = blockName(P,[fcBlock,ssBlock])
bNames = 1×2 string "FileChooser_1" "SamSort_1"
bioinfo.pipeline.Pipeline
Bioinformatics pipeline, specified as a bioinfo.pipeline.Pipeline object.
bioinfo.pipeline.Block
Blocks in the pipeline, specified as a bioinfo.pipeline.Block object or vector of such objects.
Block names, returned as a string scalar or string array. If blocks is an array, names(i) is the name of the ith block blocks(i).
names(i)
blocks(i)
Introduced in R2023a
bioinfo.pipeline.Block | bioinfo.pipeline.Pipeline | Biopipeline Designer
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Web サイトの選択
Web サイトを選択すると、翻訳されたコンテンツにアクセスし、地域のイベントやサービスを確認できます。現在の位置情報に基づき、次のサイトの選択を推奨します:
また、以下のリストから Web サイトを選択することもできます。
最適なサイトパフォーマンスの取得方法
中国のサイト (中国語または英語) を選択することで、最適なサイトパフォーマンスが得られます。その他の国の MathWorks のサイトは、お客様の地域からのアクセスが最適化されていません。
南北アメリカ
ヨーロッパ
アジア太平洋地域
最寄りの営業オフィスへのお問い合わせ