Excel Macro Example: Sun Rise, Set, Transit, Twilight

バージョン 1.0.1 (58.2 KB) 作成者: Meg Noah
to demonstrate writing inputs and reading outputs from an xlsm spreadsheet

ダウンロード: 67

更新 2020/2/21


The purpose of this project is to demonstrate how to interact with an Excel xlsm file to write inputs and read outputs from the Excel calculation. For this example, the matlab code sets the inputs of location and time, and reads the values calculated by the spreadsheets: Sun's rise, set, transit, and twilight.

The download includes the spreadsheet xlsm files. The xlsm extension is the spreadsheet that enables visual basic macros. The .BAS file and a text file explaining how to create your own calculator spreadsheet is included in the download.


Meg Noah (2023). Excel Macro Example: Sun Rise, Set, Transit, Twilight (https://www.mathworks.com/matlabcentral/fileexchange/74300-excel-macro-example-sun-rise-set-transit-twilight), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2019b
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート

Fixed that line of code in getTwilightTimes.m