フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

ambiguity in location of path

2 ビュー (過去 30 日間)
Mahalakshmi
Mahalakshmi 2011 年 9 月 19 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
f2w=fullfile(f1,'COScell1','Output-32','Segmentation2');
fg=fullfile(f2w,'Green');
fg_Color=fullfile(fg,'Green_Color');
fg_ColorCorrected=fullfile(fg,'Green_ColorCorrected');
This is clearly the code but when I type in the command window this is what I get after I run the program. Please help me out.
>> fg
fg =
Z:\Lab Users\Maha\Analysis for the paper\New Project3le\COScell1\Output-32\Segmentation\Green
>> fg_ColorCorrected
fg_ColorCorrected =
Z:\Lab Users\Maha\Analysis for the paper\New Project3le\COScell1\Output-32\Segmentation2\Green\Green_Color
The images are written in another folder named segmentation
  1 件のコメント
Walter Roberson
Walter Roberson 2011 年 9 月 19 日
See also the previous message on this topic, http://www.mathworks.com/matlabcentral/answers/15942-ambiguity-in-location-of-path

回答 (1 件)

Walter Roberson
Walter Roberson 2011 年 9 月 19 日
Last time around, you were asked which MATLAB version you were using; you did not answer that :( It might also be relevant which MS Windows version you are running.
People tested on a few different systems before and did not find the problem.
Did you check
which -all fullfile
to be sure that you are getting the official version of fullfile() ?
Did you put a breakpoint in fullfile and trace the steps one by one? It should be fairly simple routine.
  1 件のコメント
Mahalakshmi
Mahalakshmi 2011 年 9 月 19 日
oops. I use MATLAB 7.10 (R2010a) and Windows 7. In the same program some folders take the path within the folder Segmentation2 but like above a few take the path Segmentation.

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by