필터 지우기
필터 지우기

Did anybody know how to close scientific notatin in simulink model

조회 수: 5 (최근 30일)
wenlong
wenlong 2017년 11월 18일
답변: Birdman 2017년 11월 20일
I built a simulink model, there was an very small gain 5.42e-6, could you help me to express it as 0.0000542? Thanks
  댓글 수: 4
KL
KL 2017년 11월 19일
simply enter it in the gain block,
when you double click on it, enter the value in the 'Gain' field. You can simply enter it like 0.0000542
wenlong
wenlong 2017년 11월 20일
Hi, I use the cocosim toolsets, for example, I set the gain to 0.000001 in the original simulink model, but it would be 1e-6 in the generated simulink model

댓글을 달려면 로그인하십시오.

채택된 답변

Birdman
Birdman 2017년 11월 20일
Well, I tried to embed the vpa function into a MATLAB Function but as I previously guessed, it is not supported in Simulink. According to my knowledge, MATLAB forces you to use scientific notation in any place, you are just able to change the display format from MATLAB command line and Simulink. In the model, if you change the display format to decimal(Stored Integer), then you are able to see up to 4 digits but more digits are automatically converted to scientific notation.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 建模에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!