Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

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

2 Ansichten (letzte 30 Tage)
MINA WOO
MINA WOO am 27 Nov. 2019
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
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);

Antworten (1)

Mahesh Taparia
Mahesh Taparia am 9 Dez. 2019
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!

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by