Dynamic Configuration of Sample Time Parameter During Simulation

조회 수: 3 (최근 30일)
Hiroshi Kimizuka
Hiroshi Kimizuka 2018년 6월 26일
댓글: Hiroshi Kimizuka 2018년 6월 26일
Hi, I would like to re-configure the "Sample Time" parameter of the specific block in my model dynamically during Simulink Simulation. Tried saveral ways as 1) Step-and-configure by MATLAB command(sim command, etc.), 2) ssXXXX function call(to configure Simulink Parameter structure) from my C code in the S-Function, 3) Inherit the Sampling Frequency generated by my MATLAB function to the specific block, as explained in the attached .ppt slides. However, either way is not realized. Could you please suggest me how I can proceed it.
  댓글 수: 1
Hiroshi Kimizuka
Hiroshi Kimizuka 2018년 6월 26일
Sorry to have sent without the attached file. Please refer to the attached one. Thanks and Best Regards,

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink Coder에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by