Open Fortran Program w/o MATLAB (Dipole.for)

  • Context: MATLAB 
  • Thread starter Thread starter yungman
  • Start date Start date
  • Tags Tags
    File
Click For Summary

Discussion Overview

The discussion revolves around how to open and run a Fortran program (.for file) related to antenna design, specifically a program named Dipole.for. Participants explore options for accessing the file without MATLAB, as well as how to execute the program once opened.

Discussion Character

  • Technical explanation
  • Exploratory
  • Homework-related

Main Points Raised

  • One participant inquires about free software alternatives to MATLAB for opening a Fortran program.
  • Another participant suggests that any text editor can open the .for file, indicating that it contains Fortran source code.
  • There is a mention that Windows Notepad or Wordpad can be used to read the file if it is not too large.
  • A participant provides a link to an online Fortran compiler, suggesting it as a potential tool for running the program.
  • Participants express uncertainty about how to run the program, noting that it depends on the program's functionality and user interaction.
  • One participant clarifies that the program is for antenna design, where users input physical dimensions to obtain design parameters.
  • A participant confirms they successfully opened the .for file using Wordpad and shared that it is a simple program.

Areas of Agreement / Disagreement

Participants generally agree that text editors can be used to open the .for file, but there is no consensus on the specifics of how to run the program, as it depends on its functionality and user interaction.

Contextual Notes

Participants have not detailed the specific requirements or dependencies of the Fortran program, nor have they resolved how to execute it based on its intended use.

Who May Find This Useful

Individuals interested in Fortran programming, antenna design, or those seeking alternatives to MATLAB for running Fortran code may find this discussion relevant.

yungman
Messages
5,741
Reaction score
291
I need to open a Fortran program came along with the textbook on antenna. I can't attach the file. It is a .for ( dipole.for) program. The book said it need MATLAB which I don't have. Is there any free software to open this?

Thanks
 
Last edited:
Physics news on Phys.org
Any kind of text editor should do the trick. The .for extension means that the Fortran source code is contained in the file. If the file is not too large, Windows Notepad or Wordpad should be able to read the file.
 
SteamKing said:
Any kind of text editor should do the trick. The .for extension means that the Fortran source code is contained in the file. If the file is not too large, Windows Notepad or Wordpad should be able to read the file.

Thanks

How do I run it?
 
yungman said:
Thanks

How do I run it?

That's a whole 'nother question.

It's going to depend on what the program does and how the user interacts with it.
 
SteamKing said:
That's a whole 'nother question.

It's going to depend on what the program does and how the user interacts with it.

Thanks, they are antenna design programs that you input the physical dimensions and out come the various useful parameters for the design.

I manage to open the .for using Wordpad and attached is the Dipole.txt. It is a very simple program.

Thanks
 

Attachments

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
Replies
6
Views
4K
  • · Replies 20 ·
Replies
20
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 22 ·
Replies
22
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 6 ·
Replies
6
Views
2K