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

조회 수: 5 (최근 30일)
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,...

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Software Development Tools에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by