필터 지우기
필터 지우기

Error opening Matlab app from Simulink mask with call back function

조회 수: 2 (최근 30일)
Kamal
Kamal 2023년 5월 19일
답변: Raghav 2023년 5월 31일
I'm trying to open a matlab app from simulink mask via a call back function with the comand and although the application opens up the error above presents it self

답변 (1개)

Raghav
Raghav 2023년 5월 31일
Hi,
Based on your question, You are facing issue while calling MATLAB app from Simulink mask.
The error is occurring because the open() function requires a character vector or string scalar as its argument, and it seems like the argument 'tutorialApp' is not a valid character vector or string.
To resolve this issue, you need to make sure that 'tutorialApp' is a valid character vector or string scalar. You can convert it to a character vector using the char() function or define it as a string scalar using single quotes.
For example:
open('tutorialApp'); % Using character vector
or
open("tutorialApp"); % Using string scalar
If you need further assistance, please provide the relevant code or more information about your Simulink model and the callback function you are using.
Hope it helps,
Raghav Bansal

카테고리

Help CenterFile Exchange에서 Author Block Masks에 대해 자세히 알아보기

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by