当我用compiler打包调用了simulink的app后,更改数据无法更新输出图像
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
simInp=simulink.compiler.configureForDeployment(simInp);
如果我不加这行代码,打包后的exe就会报错以未知模式运行,加上这行代码后,显示模型无法更新,修改模型参数后,输出仿真图不变。![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1736751/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1736751/image.png)
0 comentarios
Respuestas (2)
Esther
el 22 de Jul. de 2024
Hi Zhang,
With my understanding you have tunable parameters in your Simulink model and you would like to generate an EXE for your model. I suggest that you use the setVariables method to set the values of the tunable parameters.
Please refer to the following MathWorks documentation link that provides detailed instructions on "Deploying A Simulation App with Simulink Compiler."
0 comentarios
Ver también
Categorías
Más información sobre Deploy Standalone Applications en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!