フィルターのクリア

Call a Matlab file as a library in other functions

2 ビュー (過去 30 日間)
DEBANSHOO
DEBANSHOO 2023 年 7 月 10 日
回答済み: Deep 2023 年 7 月 10 日
Hello guys, I am pretty new to MATLAB so I need help. So basically I am converting a python code to MATLAB. Now, I have coded a function in a script file and saved it as Config.m. Now, I want to use the function in my main program so I need to import it...How to do it? If it's python I could directly use Import function but it's not working on MATLAB. HELP ME OUT PLEASE

回答 (1 件)

Deep
Deep 2023 年 7 月 10 日
The following links should be useful to you.
When you call a function, MATLAB automatically looks through all the folders in the MATLAB path to find a .m file that matches the function name.

カテゴリ

Help Center および File ExchangeCall Python from MATLAB についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by