Matlab just says there is an error, but I don't see one. How do I know more about the error.

Error in GetSteamZoneParameters (line 7) [ tcD ] = FindtcD( fhv );
I do not get any more description.
The GetSteamZoneParameters function works fine when I call it through the command window. But when I call this function through SAGD.m I get the error.
This code is a part of a simulator for steam injection in oil fields.

回答 (1 件)

Iain
Iain 2014 年 1 月 31 日
Try calling, on the command line
dbstop if error
The program will stop and let you see what's going on at the point it throws an error.

1 件のコメント

Ankit Bansal
Ankit Bansal 2014 年 1 月 31 日
This did not help. The debugger just pointed to the line where the error occurred.
Error in GetSteamZoneParameters (line 7) [ tcD ] = FindtcD( fhv );
Output argument "angleOfInclination" (and maybe others) not assigned during call to "H:\MATLAB\CSI-mine\GetSteamZoneParameters.m>GetSteamZoneParameters".
Error in SAGD (line 29) [Qi, angleOfInclination, steamZoneRadius, steamZoneVolume ] = GetSteamZoneParameters( Qi,fhv, tD, cycle, rinj, Xinj, time, injTime, Tavg, Ti, Mr, Ts, reservoirThickness, length1);
Error in final (line 81) [ Cw, fhv, Mw, Mo, Mr, s,tD , tcD, WOR, OSR ] = SAGD( fPD,qo,length1, cumTime, cum_oil_tot,cum_wat_tot, cum_steam_tot, cycle, Ts,Ti, Xinj, API, Swi, phi, alpha,...

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeParticle & Nuclear Physics についてさらに検索

製品

質問済み:

2014 年 1 月 31 日

コメント済み:

2014 年 1 月 31 日

Community Treasure Hunt

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

Start Hunting!

Translated by