필터 지우기
필터 지우기

xPC Target scope change numerical format in runtime

조회 수: 3 (최근 30일)
Orestis
Orestis 2014년 3월 17일
답변: Orestis 2014년 3월 17일
Until now I know how to dynamically add and remove signals. But how can i during runtime change the numerical format of a numerical mode target scope?

답변 (2개)

Suneesh
Suneesh 2014년 3월 17일
1. Get handle to the scope object. Lets say 'tg' is a target object, then to get scope 1:
sc = tg.getscope(1)
2. Then change its 'DisplayMode' property:
sc.DisplayMode='Numerical'

Orestis
Orestis 2014년 3월 17일
Hello! Thanks for the answer but this is not what I was looking for. I already know that.
I need to know how i will change the numerical format string in runtime.

카테고리

Help CenterFile Exchange에서 Target Computer Setup에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by