Need help with my assignment

조회 수: 4 (최근 30일)
Christine
Christine 2023년 11월 7일
댓글: Christine 2023년 11월 8일
i need to create an app in app designer that is able to convert ac to dc. i already created the layout of the app and i created a curcuit that is able to convert ac to dc in sumilink. but i am having troubles linking the circuit simulation to the app.
Basically, i want the user to input the voltage in the app and it should send that data to the simulation and the output should come back to the app.
  댓글 수: 2
Walter Roberson
Walter Roberson 2023년 11월 7일
When you have a simulink model that you wan to execute, you have two options:
  1. You can name the model (without the file extension) as-if you were invoking a script, and the model will be run at that point. If you have a simulink model and a .m file in the same directory that have the same basic name, then the simulink model has higher priority
  2. You can use sim to run the model. This gives you a lot more control, especially together with calls such as set_param
Christine
Christine 2023년 11월 8일
Okay i'll try that, thank you for the help. :)

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

답변 (0개)

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by