Info

この質問は閉じられています。 編集または回答するには再度開いてください。

How can access value of a variable in 1 M-file into other M-file ?

1 回表示 (過去 30 日間)
Dipten
Dipten 2014 年 4 月 3 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
function [template_detection, template_detection_display, ...
template_recognition, template_recognition_display, ...
template_ids, template_names] ...
= vipwarningsigns_templates()
template_recognition(:, :,1) = feature;
end
now here is 1 M-file now i want to use template_recognition(:, :,1) in other M-file. so exactly how can i do this plz tell me ????

回答 (1 件)

A Jenkins
A Jenkins 2014 年 4 月 3 日
function other_function(template_recognition)
feature=template_recognition(:,:,1);
end

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by