Codegen Error: unable to copy file

5 ビュー (過去 30 日間)
Kani
Kani 2021 年 12 月 7 日
編集済み: Walter Roberson 2021 年 12 月 30 日
I am trying to generate code for my trained model using the commands from here: https://de.mathworks.com/help/stats/savelearnerforcoder.html
load fisheriris
inds = ~strcmp(species,'setosa');
X = meas(inds,:);
Y = species(inds);
Mdl = fitcsvm(X,Y);
saveLearnerForCoder(Mdl,'SVMIris');
codegen classifyIris -args {X}
When I run the last command "codegen classifyIris -args {X}", I get the following error:
Unable to copy file from 'C:\kani\BDU_Optimization\LUT\codegen\mex\classifyIris\classifyIris_mex.mexw64' to 'C:\kani\BDU_Optimization\LUT\classifyIris_mex.mexw64'.
Any clue on how to move forward will be great. Thanks.

回答 (1 件)

yanqi liu
yanqi liu 2021 年 12 月 30 日
yes,sir,please check file
C:\kani\BDU_Optimization\LUT\codegen\mex\classifyIris\classifyIris_mex.mexw64
and check folder
C:\kani\BDU_Optimization\LUT\

カテゴリ

Help Center および File ExchangeDeep Learning with GPU Coder についてさらに検索

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by