HI(adsbygoogle = window.adsbygoogle || []).push({});

can't I pass the path of a file as a string variable to fopen() , like this:

path = 'aadada'

fopen(path)

I want to do create many files, the paths have a logic, so I can put them in cell array and than I want to pass them to fopen() , but fopen doesn't accept a string variable, this is strange.

**Physics Forums | Science Articles, Homework Help, Discussion**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Matlab: String variables to fopen()

Loading...

Similar Threads for Matlab String variables |
---|

MATLAB MATLAB: forces acting on an object |

MATLAB Matlab histogram |

MATLAB Sovling Bernoulli's differential equation in matlab? |

MATLAB Matlab-like software |

MATLAB Matlab data into bins |

**Physics Forums | Science Articles, Homework Help, Discussion**