Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

use pre-defined network (ANN) and re-use it in function

조회 수: 1 (최근 30일)
MINA WOO
MINA WOO 2019년 11월 27일
마감: MATLAB Answer Bot 2021년 8월 20일
I want to define a function using pre-defined ANN network.
But, when I tried, the error said 'No system or file called 'ann_ROM' found.'
How can I fix this problem?
function [y] = rom_ann(x,norm_VCs,training_sample)
% x = parameter [2x1]
[d, num_basis] = size(norm_VCs);
load('ann_ROM')
weight = sim('ann_ROM',x);

답변 (1개)

Mahesh Taparia
Mahesh Taparia 2019년 12월 9일
Hi MINA,
It seems that the file ann_ROM is not present in current working directory of MATLAB. Add/ Copy the file ann_ROM into MATLAB current directory and then run your code.
Hope it will help!

Community Treasure Hunt

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

Start Hunting!

Translated by