필터 지우기
필터 지우기

Problem with segy display using SeisLab_10.0301

조회 수: 4 (최근 30일)
Sandeep
Sandeep 2023년 12월 5일
답변: Narvik 2023년 12월 22일
I imported the attached segy file using the following code from SeisLab_10.0301
Data = read_segy_file('C:\Users\sshar\Downloads\SeisLab_10.0301\190613.line10.sgy');
Now, I am trying to display the 2D section using,
s_cplot(Data);
but it shows the following error
Error using num2str
Input to num2str must be numeric.
Error in myimagemenu (line 24)
handle=findobj(figure_handle,'Tag',['image_menu',num2str(figure_handle)]);
Error in s_cplot (line 265)
myimagemenu % Create menu button to interactively change colors, etc.
Error in TestSegy (line 4)
Could you please help me correct this?
Thanks.

답변 (1개)

Narvik
Narvik 2023년 12월 22일
Hi,
As per my understanding, you are facing an issue while trying to use the function ‘s_cplot’ from SeisLab v3.0.1. The error seems to be due to passing a non-numeric input to num2str function.
You can try converting the variable being passed to num2str to a number in myimagemenu.m file. But I suggest you use the latest version of SeisLab, i.e, v3.0.2. The function s_cplotseems to be fixed in the latest version.
You can get the latest version from the link below:
Hope this helps!

카테고리

Help CenterFile Exchange에서 Programmatic Model Editing에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by