Info

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

How to include m-file in a mex-file by the S-function builder?

조회 수: 1 (최근 30일)
Martin
Martin 2013년 8월 19일
마감: MATLAB Answer Bot 2021년 8월 20일
Hi.
I'm trying to make my simulink-application, with a GUI through an s-function, into a standalone executable. The application works fine in simulink/matlab where the s-function block calls an "GUI_sf.m" file that calls the "GUI.m" file/function to open the GUI.
From what I understand, I have to build the s-function in advance using the s-function builder. But when running the simulation after replacing the normal s-function with the builder, the call to "GUI.m" is not made and no GUI appears.
Please advice.
  댓글 수: 1
Kaustubha Govind
Kaustubha Govind 2013년 8월 19일
Are you writing a MATLAB-file S-function or a C-MEX S-function? It's not clear why you want to switch to the S-function Builder (which automatically generates a C-MEX S-function), when you already have a working S-function.

답변 (0개)

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

제품

Community Treasure Hunt

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

Start Hunting!

Translated by