A.matに含まれている変数をご確認いただけますか?
load('A.mat')
whos
別の環境で学習をおこなわないのでtraingOptionsなどの変数をエクスポートする必要はなく、trainNetworkの結果の変数だけmatファイルに保存すれば十分です。
net = trainNetwork(...)
save('A.mat', 'net')
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!