Error opening Matlab app from Simulink mask with call back function
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1388739/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1388744/image.png)
0 commentaires
Réponses (1)
Raghav
le 31 Mai 2023
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
0 commentaires
Voir également
Catégories
En savoir plus sur Author Block Masks dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!