由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - Matlab如何在同文件内定义过程
相关主题
One question in C programmingMATLAB function call too slow
我的matlab 抽风了。。。。 How to use the online code source? ---- A general question
Can we define pure virtual function? (转载)MatLab Code
关于在C中定义常量请问如何将一个matlab写的function文件转化成一个.dll文件
where to define my template function[合集] matlab函数的返回变量
基础问题:在header里面define functionc的函数指针能不能弄得像matlab的function handle一样?
请教大家一道C的面试题大侠进来看看这个问题
How to stop a function in MATLAB?C++ Error Questions
相关话题的讨论汇总
话题: functions话题: define话题: matlab话题: 定义话题: 文件
进入Programming版参与讨论
1 (共1页)
w****h
发帖数: 212
1
我需要把一段很长重复使用的代码定义成一个过程(无输入参数),最好就放在同一个
.M文件里,该如何定义呢?
难道必须放在外部文件吗?
r*********r
发帖数: 3195
2
i think you can define multiple functions in one file, only one of the
function name needs to be the same as the file name. the rest functions are
considered private, and cann't be called by functions from other files.
just like in java, you can only define one public class in each java file,
but you can always define multiple non-public classes.
1 (共1页)
进入Programming版参与讨论
相关主题
C++ Error Questionswhere to define my template function
[合集] A question about multidimensional arrays in C++!!基础问题:在header里面define function
问一个VC的include的问题请教大家一道C的面试题
inline functions in C++How to stop a function in MATLAB?
One question in C programmingMATLAB function call too slow
我的matlab 抽风了。。。。 How to use the online code source? ---- A general question
Can we define pure virtual function? (转载)MatLab Code
关于在C中定义常量请问如何将一个matlab写的function文件转化成一个.dll文件
相关话题的讨论汇总
话题: functions话题: define话题: matlab话题: 定义话题: 文件