Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot find the file "solver.f" #8

Open
Yannigi opened this issue Sep 11, 2018 · 4 comments
Open

cannot find the file "solver.f" #8

Yannigi opened this issue Sep 11, 2018 · 4 comments

Comments

@Yannigi
Copy link

Yannigi commented Sep 11, 2018

I would like to use this algorithm on Windows. So I followed the instruction for windows. However, when I run this line of code "mex -v -g -c -f mexopts_fortran.bat solver.f", my matlab shows like the picture below
image
However, I am sure I have included the source file in the workspace where I cannot find the solver.f by myself, either.

@pcarbo
Copy link
Owner

pcarbo commented Sep 11, 2018

@liupoplar Try replacing solver.f with solver30.f (which will use the latest version of the software).

@Yannigi
Copy link
Author

Yannigi commented Sep 12, 2018

Thanks for your reply!
I have tried replacing solver.f with solver30.f, but it seems it doesn't work, either.
The matlab shows like picture below.
image

@Yannigi
Copy link
Author

Yannigi commented Sep 12, 2018

Besides, in the the instructions for Windows, I have run the command lines in the red box successfully. However, the other ones cannot be run correctly.
image

@pcarbo
Copy link
Owner

pcarbo commented Sep 18, 2018

@liupoplar Are you in the right directory? What happens if you run ls in MATLAB?

I think the MathWorks website has a good tutorial on working with MEX files. Have you followed the instructions for setting up MEX on Windows? You might need to do this first. It would also be good to try building one of the example MEX files given in the tutorial.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants