when i package app and simulink file,why have this error
function startupFcn(app)
start_simulink
end
% Button pushed function: Button
function ButtonPushed(app, event)
%创建模型输入
simInp = Simulink.SimulationInput(‘untitled’);
simInp = simInp.setVariable(‘a’,app.EditField.Value);
simInp = simulink.compiler.configureForDeployment(simInp);
%执行并取出结果
simOut = sim(simInp);
b=simOut.b;
app.EditField_2.Value=b;
end
this is my code in app,and the package error is
Preparing Runtime…
mcc -o app1 -W ‘WinMain:app1,version=1.0’ -T link:exe -d C:UsersadminDesktop322newapp1for_testing -v C:UsersadminDesktop322newapp1.mlapp -a C:UsersadminDesktop322newtest.m -a C:UsersadminDesktop322newuntitled.slx -r D:matlab2023toolboxcompilerpackagingResourcesdefault_icon.ico
Compiler version: 8.6 (R2023a)
Analyzing file dependencies.
Unable to build Simulink Rapid Accelerator target.
mcc failurefunction startupFcn(app)
start_simulink
end
% Button pushed function: Button
function ButtonPushed(app, event)
%创建模型输入
simInp = Simulink.SimulationInput(‘untitled’);
simInp = simInp.setVariable(‘a’,app.EditField.Value);
simInp = simulink.compiler.configureForDeployment(simInp);
%执行并取出结果
simOut = sim(simInp);
b=simOut.b;
app.EditField_2.Value=b;
end
this is my code in app,and the package error is
Preparing Runtime…
mcc -o app1 -W ‘WinMain:app1,version=1.0’ -T link:exe -d C:UsersadminDesktop322newapp1for_testing -v C:UsersadminDesktop322newapp1.mlapp -a C:UsersadminDesktop322newtest.m -a C:UsersadminDesktop322newuntitled.slx -r D:matlab2023toolboxcompilerpackagingResourcesdefault_icon.ico
Compiler version: 8.6 (R2023a)
Analyzing file dependencies.
Unable to build Simulink Rapid Accelerator target.
mcc failure function startupFcn(app)
start_simulink
end
% Button pushed function: Button
function ButtonPushed(app, event)
%创建模型输入
simInp = Simulink.SimulationInput(‘untitled’);
simInp = simInp.setVariable(‘a’,app.EditField.Value);
simInp = simulink.compiler.configureForDeployment(simInp);
%执行并取出结果
simOut = sim(simInp);
b=simOut.b;
app.EditField_2.Value=b;
end
this is my code in app,and the package error is
Preparing Runtime…
mcc -o app1 -W ‘WinMain:app1,version=1.0’ -T link:exe -d C:UsersadminDesktop322newapp1for_testing -v C:UsersadminDesktop322newapp1.mlapp -a C:UsersadminDesktop322newtest.m -a C:UsersadminDesktop322newuntitled.slx -r D:matlab2023toolboxcompilerpackagingResourcesdefault_icon.ico
Compiler version: 8.6 (R2023a)
Analyzing file dependencies.
Unable to build Simulink Rapid Accelerator target.
mcc failure appdesigner, simulink MATLAB Answers — New Questions