MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   资料存档 (https://www.labfans.com/bbs/forumdisplay.php?f=72)
-   -   如何使用户清楚在Matlab中将函数的参数作为字符串输入? (https://www.labfans.com/bbs/showthread.php?t=23961)

poster 2019-12-10 20:48

如何使用户清楚在Matlab中将函数的参数作为字符串输入?
 
我有以下函数,其最后一个参数是文本文件的名称:

function [property_without_headers]=gslib_file_to_matlab_var(nModel,nCell,gslib_file_name) % must enter the last argument, gslib_file_name, in single quotes as its treated as a string if nargin


所有时间均为北京时间。现在的时间是 23:23

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.