필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

how to connect signal builder outputs to the inputs through mscript.

조회 수: 1 (최근 30일)
mettupalli Sriharsha
mettupalli Sriharsha 2017년 9월 23일
마감: MATLAB Answer Bot 2021년 8월 20일
Consider a 2 input AND gate and i am creating 2 signals in signal builder for these 2 inputs and instead of connecting manually i need to connect through mscript to the corresponding signal names.

답변 (1개)

ES
ES 2017년 9월 23일
%gcs is the current subsystem
% let 'signalbuilder' is the name of the signal builder block
%let 'and' be the name of the AND block
addline(gcs, 'signalbuilder/1', 'and/1');% connects first outport of signalbuilder to first inport of and
addline(gcs, 'signalbuilder/2', 'and/2');% connects secondoutport of signalbuilder to second inport of and

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by