добавлен экспорт и импорт настроек оболочки и приложения МК

работа с конфигом (чтение запись) перенесена в отдельный файл

добавлена возможность через popup сделать define = чему-то
This commit is contained in:
2025-06-17 18:34:23 +03:00
parent e77a659710
commit 5648875cd2
9 changed files with 492 additions and 163 deletions

View File

@@ -75,14 +75,14 @@ classdef appWrap
errordlg('Файл не найден');
end
end
end
%% SPECIFIC TOOLS
methods(Static, Access = private)
function [filename, section, tool, example] = getAppWrapperUserFile(block)
sel = get_param(block, 'appWrapperFunc');
function [filename, section, tool, example] = getAppWrapperUserFile(block, sel)
if (nargin < 2)
sel = get_param(block, 'appWrapperFunc');
end
basePath = mcuPath.get('appWrapperPath');
if isempty(basePath)
errordlg('Не указан путь к файлам обёртки (wrapperPath).');
@@ -150,7 +150,5 @@ classdef appWrap
end
end
end
end