getting error in data store memory while using global variable

25 ビュー (過去 30 日間)
kumar
kumar 2014 年 7 月 21 日
回答済み: Julia 2014 年 7 月 21 日
hi.. iam Senthilkumar. am new to simulink, while using it i frequently getting the error whenever i declare a variable as global "Data store memory with name 'Angle1' was not found for the corresponding block", but actually am declaring the Angle1 as a data store memory in edit data which is an option provided in the tool bar. but it is still showing the error.
function Angle = Angle()
global Angle1
Angle = Angle1;
end
what it is actually expecting me to do in the name of 'data store memory was not found'.
please help me with this..
thanks in advance

回答 (1 件)

Julia
Julia 2014 年 7 月 21 日

カテゴリ

Help Center および File ExchangeModeling についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by