retrieve_file.m

From Spinach Documentation Wiki
Revision as of 19:40, 6 June 2026 by Kuprov (talk | contribs) (Update function See also links and function index membership)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Retrieves a file from an HTTPS link and stores it in a user-specified directory.

Syntax

        file_path=retrieve_file(file_url,file_name,dest_dir)

Parameters

        file_url  - HTTPS URL pointing to the file to retrieve
        file_name - name of the file to be stored on disk
        dest_dir  - destination directory for the downloaded file

Outputs

        file_path - full path to the retrieved file

Examples

See examples in the Spinach distribution relevant to this function.

Notes

This page was generated from the function header in the Spinach repository.

See also

spinach2hiper.m, awg_interface.m, bootstrap.m, gslice.m, guess_csa_pro.m, guess_j_nuc.m, guess_j_pro.m, py_run.m, Import,_export,_and_visualisation, Installation, Matlab_configuration_advice, Main_Page, Kernel_utilities

Version 2.11, authors: Ilya Kuprov