Error due to multiple causes

I am trying to run a Simulink model inside of PARFOR (Parallel Job) to speed up a parameter sweep on the model. The model works fine in a sequential script (FOR loop), but when I execute it inside ...

The error message is caused by one of three following causes:

— The Simulink model is unable to locate variables which it needs to run correctly inside of PARFOR.

To debug this issue place the SIM command calling the Simulink model inside of a TRY CATCH block as demonstrated below, and attempt to execute the model again. By placing the SIM command inside of the TRY CATCH block you will be able to identify all the variables that the model expects in the global workspace, and which are not present on the workers when the model is called.

parfor i = 1:N

try

sim(‘my_model’);

catch exception

error_var{i} = lasterror

stack_var{i} = dbstack

exception_var{i} = getReport(exception,‘extended’)

end

end

The contents of error_var, stack_var, exception_var will be useful in determining the missing variables.

Please be aware that Simulink requires are input variables to be present in the ‘base’ workspace. To ensure that the missing variables are placed inside of the worker ‘base’ workspace use the ASSIGNIN command:

assignin(‘base’,‘var_name’,var_name);

Also the model always returns output variables either to the global workspace or as the output of the SIM command. If you don’t specify the output variable for the SIM command and the model outputs variables which you need to return back to the calling program or to the client, or the model is called from within a function, you will need to use the EVALIN function to copy these variables to the local function workspace as follows:

a = evalin(‘base’,‘var_name’);

— The Simulink model is run in accelerated mode and tries to compile itself across multiple instances at the same time causing file corruption.

For information on how to resolve model compilation issues please review the following section of documentation by typing the following in the MATLAB Command Window:

web([docroot,‘/toolbox/simulink/ug/brsk2gr.html#brsk7ls’])

You may access the same information on the following webpage:

— You can also debug the Simulink model by placing it inside of an SPMD statement, or submitting it as a parallel job. When you submit the simulation as the parallel job, the errors will be included in the Parallel Task Error and ErrorMessage properties.

More information about ErrorMessage property of the Task object is available by typing the following in the MATLAB Command Window:

web([docroot,‘/toolbox/distcomp/errormessage.html’])

You may access the same information on the following webpage:

Note that when debugging a model using parallel jobs, there might be File and Path Dependencies that might have to me satisfied before the model starts executing correctly. More information about Path and File Dependencies is available by typing the following in the MATLAB Command Window:

web([Dorothy,‘/toolbox/disco/pathdependencies.html’])

web([Dorothy,‘/toolbox/disco/filedependencies.html’])

You may access the same information on the following debagged:

Leonid76

Пользователь
Сообщения: 74
Зарегистрирован: Чт янв 20, 2011 3:16 pm

ШИМ для DC motor

Коллеги, подскажите пожалуйста, на каком блоке можно построить управление ДПТ ? То есть изменять напряжение якоря или поля в зависимости от частоты вращения якоря. Может у кого есть простенькая схема чтобы понять принцип ?


chernykh

Эксперт
Сообщения: 4526
Зарегистрирован: Ср сен 22, 2004 4:49 pm

Сообщение chernykh » Вт фев 21, 2012 5:00 pm

Demos смотрите — полно примеров.

Хоть бы и этот:

DC5 — One-Quadrant Chopper 5 HP DC Drive


Leonid76

Пользователь
Сообщения: 74
Зарегистрирован: Чт янв 20, 2011 3:16 pm

DC

Сообщение Leonid76 » Ср фев 22, 2012 11:05 am

Спасибо. А как в этом блоке менять мощность машины ?


Leonid76

Пользователь
Сообщения: 74
Зарегистрирован: Чт янв 20, 2011 3:16 pm

Re: DC

Сообщение Leonid76 » Ср фев 22, 2012 1:14 pm

Мощность ДПТ поменял под маской DC5.

Столкнулся с проблемой. При запуске программы она ругается что время расчета программы 2е-6 не совпадает со временем для DC5 и ссылается на Regulation Switch 2e-5. При этом в окне последнего ячейка времени не активна. Please help.


chernykh

Эксперт
Сообщения: 4526
Зарегистрирован: Ср сен 22, 2004 4:49 pm

Сообщение chernykh » Ср фев 22, 2012 8:07 pm

При запуске программы она ругается что время расчета программы 2е-6 не совпадает со временем для DC5 и ссылается на Regulation Switch 2e-5.

Не сразу же она стала ругаться? Разберитесь, какие изменения Вы делали.


Leonid76

Пользователь
Сообщения: 74
Зарегистрирован: Чт янв 20, 2011 3:16 pm

Мощность ДПТ и момент инерции.

Сообщение Leonid76 » Пт фев 24, 2012 10:57 am

Модель почему-то заработала после перезагрузки компьютера.

Илья Викторович, а почему в модели ДПТ внутри блока DC7 нет ячейки задающей мощности машины? Если выбирать предлагаемые машины из списка, то невозможно изменить момент инерции приведенный от механизма к якорю.

Как же решить эту проблему ?


chernykh

Эксперт
Сообщения: 4526
Зарегистрирован: Ср сен 22, 2004 4:49 pm

Сообщение chernykh » Пт фев 24, 2012 1:40 pm

почему в модели ДПТ внутри блока DC7 нет ячейки задающей мощности машины

Потому, что такой ячейки нет в окне параметров самой DC Machine.

Если выбирать предлагаемые машины из списка, то невозможно изменить момент инерции приведенный от механизма к якорю

Задавайте момент инерции в окне Four-Quadrant Chopper DC Drive.


Leonid76

Пользователь
Сообщения: 74
Зарегистрирован: Чт янв 20, 2011 3:16 pm

Выдает ошибку

Сообщение Leonid76 » Пт фев 24, 2012 3:12 pm

То есть в окне ДПТ выбираю мощность и оставляю J собственно двигателя, а в окне DC выбираю приведенный J механизма ?

При попытке опять заходить в окно DC программа пишет Error due to multiple causes. …


chernykh

Эксперт
Сообщения: 4526
Зарегистрирован: Ср сен 22, 2004 4:49 pm

Сообщение chernykh » Пт фев 24, 2012 4:42 pm

То есть в окне ДПТ выбираю мощность

В окне ДПТ выбирается тип двигателя. Его мощность нигде не выбирается и не задается.

оставляю J собственно двигателя, а в окне DC выбираю приведенный J механизма ?

В окне DC задаете «J собственно двигателя» + «приведенный J механизма».

Все параметры электропривода задаются из его окна. Не нужно ничего задавать внутри модели.


Leonid76

Пользователь
Сообщения: 74
Зарегистрирован: Чт янв 20, 2011 3:16 pm

Изменение параметров DC

Сообщение Leonid76 » Пн фев 27, 2012 9:12 am

Выбрав ДПТ, после прогона программы пытаюсь открыть окно DC5 для изменения J. Выскакивает ошибка Error due to multiple causes.

Можно конечно удалять DC5 из схемы, вновь брать блок из бибилиотеки, задавать параметры и запускать на один раз программу. Но это отнимает время.

Так же не должно быть ?


Leonid76

Пользователь
Сообщения: 74
Зарегистрирован: Чт янв 20, 2011 3:16 pm

Re: Изменение параметров DC

Сообщение Leonid76 » Пн фев 27, 2012 9:53 am

Выбираю из листа ДПТ 10HP и мой электромобиль выполняет график разгона. Выбираю 250 HP, электромобиль даже не шевелится.

Как такое может быть ?


chernykh

Эксперт
Сообщения: 4526
Зарегистрирован: Ср сен 22, 2004 4:49 pm

Сообщение chernykh » Пн фев 27, 2012 5:36 pm

Выбрав ДПТ, после прогона программы пытаюсь открыть окно DC5 для изменения J. Выскакивает ошибка Error due to multiple causes.

Выбираю из листа ДПТ 10HP и мой электромобиль выполняет график разгона. Выбираю 250 HP, электромобиль даже не шевелится.

Уже надоело Вам писать одно и то же:

Все параметры электропривода задаются из его окна. Не нужно ничего задавать внутри модели.


Leonid76

Пользователь
Сообщения: 74
Зарегистрирован: Чт янв 20, 2011 3:16 pm

ДПТ

Сообщение Leonid76 » Вт фев 28, 2012 10:02 am

[/quote]

Уже надоело Вам писать одно и то же:

Все параметры электропривода задаются из его окна. Не нужно ничего задавать внутри модели.[/quote]

В окне 1-Quadrant Chopper DC Motor Drive открываю закладку ВС Machne.

Доступные поля:

Mutual inductance

Armature:Resistance, Inductance

Field: Resistance, Inductance

Mechanical parameters: Inertia, Friction coefficient, Friction torque, Initial speed.

Как выбрать эл машину в этом поле ?


chernykh

Эксперт
Сообщения: 4526
Зарегистрирован: Ср сен 22, 2004 4:49 pm

Сообщение chernykh » Вт фев 28, 2012 10:09 am

Как выбрать эл машину в этом поле ?

Никак. Нужно задать ее параметры. А именно:

Mutual inductance
Armature:Resistance, Inductance
Field: Resistance, Inductance
Mechanical parameters: Inertia, Friction coefficient, Friction torque, Initial speed.


Leonid76

Пользователь
Сообщения: 74
Зарегистрирован: Чт янв 20, 2011 3:16 pm

Сообщение Leonid76 » Вт фев 28, 2012 10:19 am

теперь понятно.

Последний вопрос:

Номинальное напряжение машины задается Controller — Current Controller — Voltage ?

Там же:

По умолчанию Power (VA): 5*746. Всегда надо в таком странном виде прописывать и о чем говорит цифра 5 ?


‘Error due to multiple causes.’ running «UsingSimu​linkToGene​rateFaultD​ataExample​.mlx»

Direct link to this question

Direct link to this question

0 Comments

Answers (0)

See Also

Categories

Products

Release

Community Treasure Hunt

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

An Error Occurred

Unable to complete the action because of changes made to the page. Reload the page to see its updated state.

Select a Web Site

Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

You can also select a web site from the following list:

How to Get Best Site Performance

Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.

Americas

Europe

  • Belgium (English)
  • Denmark (English)
  • Deutschland (Deutsch)
  • España (Español)
  • Finland (English)
  • France (Français)
  • Ireland (English)
  • Italia (Italiano)
  • Luxembourg (English)
  • Netherlands (English)
  • Norway (English)
  • Österreich (Deutsch)
  • Portugal (English)
  • Sweden (English)
  • Switzerland
    • Deutsch
    • English
    • Français
  • United Kingdom (English)

Asia Pacific

  • Australia (English)
  • India (English)
  • New Zealand (English)
  • 中国
    • 简体中文 Chinese
    • English
  • 日本 Japanese (日本語)
  • 한국 Korean (한국어)

Accelerating the pace of engineering and science

MathWorks is the leading developer of mathematical computing software for engineers and scientists.

Источник

‘Error due to multiple causes.’ running «UsingSimu​linkToGene​rateFaultD​ataExample​.mlx»

Direct link to this question

Direct link to this question

0 Comments

Answers (0)

See Also

Categories

Products

Release

Community Treasure Hunt

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

An Error Occurred

Unable to complete the action because of changes made to the page. Reload the page to see its updated state.

Select a Web Site

Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

You can also select a web site from the following list:

How to Get Best Site Performance

Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.

Americas

Europe

  • Belgium (English)
  • Denmark (English)
  • Deutschland (Deutsch)
  • España (Español)
  • Finland (English)
  • France (Français)
  • Ireland (English)
  • Italia (Italiano)
  • Luxembourg (English)
  • Netherlands (English)
  • Norway (English)
  • Österreich (Deutsch)
  • Portugal (English)
  • Sweden (English)
  • Switzerland
    • Deutsch
    • English
    • Français
  • United Kingdom (English)

Asia Pacific

  • Australia (English)
  • India (English)
  • New Zealand (English)
  • 中国
    • 简体中文 Chinese
    • English
  • 日本 Japanese (日本語)
  • 한국 Korean (한국어)

Accelerating the pace of engineering and science

MathWorks is the leading developer of mathematical computing software for engineers and scientists.

Источник

‘Error due to multiple causes.’ running «UsingSimu​linkToGene​rateFaultD​ataExample​.mlx»

Direct link to this question

Direct link to this question

0 Comments

Answers (0)

See Also

Categories

Products

Release

Community Treasure Hunt

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

An Error Occurred

Unable to complete the action because of changes made to the page. Reload the page to see its updated state.

Select a Web Site

Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

You can also select a web site from the following list:

How to Get Best Site Performance

Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.

Americas

Europe

  • Belgium (English)
  • Denmark (English)
  • Deutschland (Deutsch)
  • España (Español)
  • Finland (English)
  • France (Français)
  • Ireland (English)
  • Italia (Italiano)
  • Luxembourg (English)
  • Netherlands (English)
  • Norway (English)
  • Österreich (Deutsch)
  • Portugal (English)
  • Sweden (English)
  • Switzerland
    • Deutsch
    • English
    • Français
  • United Kingdom (English)

Asia Pacific

  • Australia (English)
  • India (English)
  • New Zealand (English)
  • 中国
    • 简体中文 Chinese
    • English
  • 日本 Japanese (日本語)
  • 한국 Korean (한국어)

Accelerating the pace of engineering and science

MathWorks is the leading developer of mathematical computing software for engineers and scientists.

Источник

Error due to multiple causes in Simulink block diagram

Direct link to this question

Direct link to this question

1 Comment

Direct link to this comment

Direct link to this comment

Answers (1)

Direct link to this answer

Direct link to this answer

0 Comments

See Also

Categories

Community Treasure Hunt

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

An Error Occurred

Unable to complete the action because of changes made to the page. Reload the page to see its updated state.

Select a Web Site

Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

You can also select a web site from the following list:

How to Get Best Site Performance

Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.

Americas

Europe

  • Belgium (English)
  • Denmark (English)
  • Deutschland (Deutsch)
  • España (Español)
  • Finland (English)
  • France (Français)
  • Ireland (English)
  • Italia (Italiano)
  • Luxembourg (English)
  • Netherlands (English)
  • Norway (English)
  • Österreich (Deutsch)
  • Portugal (English)
  • Sweden (English)
  • Switzerland
    • Deutsch
    • English
    • Français
  • United Kingdom (English)

Asia Pacific

  • Australia (English)
  • India (English)
  • New Zealand (English)
  • 中国
    • 简体中文 Chinese
    • English
  • 日本 Japanese (日本語)
  • 한국 Korean (한국어)

Accelerating the pace of engineering and science

MathWorks is the leading developer of mathematical computing software for engineers and scientists.

Источник

Error due to multiple causes while using sim command in genetic algorithm

Direct link to this question

Direct link to this question

1 Comment

Direct link to this comment

Direct link to this comment

Answers (0)

See Also

Categories

Products

Release

Community Treasure Hunt

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

An Error Occurred

Unable to complete the action because of changes made to the page. Reload the page to see its updated state.

Select a Web Site

Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

You can also select a web site from the following list:

How to Get Best Site Performance

Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.

Americas

Europe

  • Belgium (English)
  • Denmark (English)
  • Deutschland (Deutsch)
  • España (Español)
  • Finland (English)
  • France (Français)
  • Ireland (English)
  • Italia (Italiano)
  • Luxembourg (English)
  • Netherlands (English)
  • Norway (English)
  • Österreich (Deutsch)
  • Portugal (English)
  • Sweden (English)
  • Switzerland
    • Deutsch
    • English
    • Français
  • United Kingdom (English)

Asia Pacific

  • Australia (English)
  • India (English)
  • New Zealand (English)
  • 中国
    • 简体中文 Chinese
    • English
  • 日本 Japanese (日本語)
  • 한국 Korean (한국어)

Accelerating the pace of engineering and science

MathWorks is the leading developer of mathematical computing software for engineers and scientists.

Источник

Есть ли у кого опыт успешной установки под линукс?

Пробовал матлабы 2010б, 2010а, 2009б не получается, лог ниже

>>setupDSPBuilderPath ('install', false, '/usr/altera/10.1sp1/quartus/dsp_builder/bin', '/usr/altera/10.1sp1/quartus/dsp_builder/bin/matlab', '/usr/altera/10.1sp1/quartus/dsp_builder/bin/mdllibrary')

Install type is install
Creating board components
Error executing : createSBlock('ComponentFactory', 'Stratix_EP1S25_alteradspbuilder2', 'Stratix_EP1S25:config', 'Stratix EP1S25 DSP Development Board');
Previous command was : alt_dspbuilder_internal_new_system('Stratix_EP1S25_alteradspbuilder2', 'Library');

Information on the last error:

Message: Error using ==> createSBlock at 46
Error due to multiple causes.

Failed at
  createSBlock in /usr/altera/10.1sp1/quartus/dsp_builder/bin/matlab/private/createSBlock.p at line 46
  alt_dspbuilder_createComponentLibrary in /usr/altera/10.1sp1/quartus/dsp_builder/bin/matlab/alt_dspbuilder_createComponentLibrary.p at line 28
  setupDSPBuilderPath in /usr/altera/10.1sp1/quartus/dsp_builder/bin/matlab/setupDSPBuilderPath.m at line 115

тоже самое и для 10.1 версии.

детали того, что есть и прочее

1) матлаб устанавливался 32 битный

2) пробовал добавлять пути в ручную в classpath.txt, тогда при попытки открыть пример из дспбилдера получаю такое

Error in block : Test3C120Board_QuadDisplay/VCC
Error due to multiple causes.
....

2.1) Отрывал пример и пытался менять свойства какого либо модуля получал такое «invalid MEX-file»

3) пробовал из под рута с тем же результатом

У меня есть подпрограмма С++, которую я хотел бы упаковать в Simulink S-Function. Эта подпрограмма С++ вызывает другие подпрограммы, которые находятся в нескольких других файлах на С++.

Мне удалось собрать все скомпилированные файлы (т.е. файл mexglx), используя инструмент legacy_code. Однако выдается следующее предупреждение:

Warning: You are using gcc version "4.4.4-14ubuntu5)".  The earliest gcc version
supported  with mex is "4.1".  The latest version tested for use with mex 
is "4.2". To download a different version of gcc, visit http://gcc.gnu.org 

Проблема возникает, когда я пытаюсь сгенерировать блок S-Function, выписав команду:

legacy_code('slblock_generate', def);

В этот момент возникает следующая ошибка с упоминанием версии GLIBCXX:

??? Error using ==> iAddSfunctionBlock at 183
Error due to multiple causes.

Error in ==>
/opt/matlab/toolbox/simulink/simulink/+legacycode/@LCT/generateslblock.p>
generateslblock at 55


Error in ==> /opt/matlab/toolbox/simulink/simulink/legacy_code.p>legacy_code at
160


Caused by:
    Error using ==> iAddSfunctionBlock at 183
    Invalid MEX-file 'sfun_vectorRotation_b.mexglx':
    /opt/matlab/bin/glnx86/../../sys/os/glnx86/libstdc++.so.6: version
    `GLIBCXX_3.4.11' not found (required by sfun_vectorRotation_b.mexglx).
    Error using ==> iAddSfunctionBlock at 183
    Error while obtaining sizes from MEX S-function 'sfun_vectorRotation_b' in
    'untitled1/sfun_vectorRotation_b'. MATLAB error message:
    Invalid MEX-file 'sfun_vectorRotation_b.mexglx':
    /opt/matlab/bin/glnx86/../../sys/os/glnx86/libstdc++.so.6: version
    `GLIBCXX_3.4.11' not found (required by sfun_vectorRotation_b.mexglx).

Честно говоря, я немного потерял в этот момент. Я не знаю, было бы достаточно понизить компилятор g++, или если мне придется делать некоторые другие вещи. У вас есть возможное решение этой проблемы?

Я использую Matlab 2009b в ОС Ubuntu 10.10, а версия g++:

g++ (Ubuntu/Linaro 4.4.4-14ubuntu5) 4.4.5

Большое спасибо заранее

Микель

У меня есть подпрограмма C++, которую я хотел бы упаковать в S-функцию Simulink. Эти подпрограммы C++ вызывают другие подпрограммы, находящиеся в нескольких других файлах C++.

Мне удалось скомпилировать все (т. е. сгенерировать файл mexglx) с помощью инструмента legacy_code. Однако выдается следующее предупреждение:

Warning: You are using gcc version "4.4.4-14ubuntu5)".  The earliest gcc version
supported  with mex is "4.1".  The latest version tested for use with mex 
is "4.2". To download a different version of gcc, visit http://gcc.gnu.org 

Проблема возникает, когда я пытаюсь сгенерировать блок S-Function, введя команду:

legacy_code('slblock_generate', def);

В этот момент возникает следующая ошибка с упоминанием версии GLIBCXX:

??? Error using ==> iAddSfunctionBlock at 183
Error due to multiple causes.

Error in ==>
/opt/matlab/toolbox/simulink/simulink/+legacycode/@LCT/generateslblock.p>
generateslblock at 55


Error in ==> /opt/matlab/toolbox/simulink/simulink/legacy_code.p>legacy_code at
160


Caused by:
    Error using ==> iAddSfunctionBlock at 183
    Invalid MEX-file 'sfun_vectorRotation_b.mexglx':
    /opt/matlab/bin/glnx86/../../sys/os/glnx86/libstdc++.so.6: version
    `GLIBCXX_3.4.11' not found (required by sfun_vectorRotation_b.mexglx).
    Error using ==> iAddSfunctionBlock at 183
    Error while obtaining sizes from MEX S-function 'sfun_vectorRotation_b' in
    'untitled1/sfun_vectorRotation_b'. MATLAB error message:
    Invalid MEX-file 'sfun_vectorRotation_b.mexglx':
    /opt/matlab/bin/glnx86/../../sys/os/glnx86/libstdc++.so.6: version
    `GLIBCXX_3.4.11' not found (required by sfun_vectorRotation_b.mexglx).

Честно говоря, я немного растерялся в этот момент. Я не знаю, будет ли достаточно понижения версии компилятора g++ или мне придется делать что-то еще. У вас есть возможное решение этой проблемы?

Я использую Matlab 2009b в ОС Ubuntu 10.10, а версия g++:

g++ (Ubuntu/Linaro 4.4.4-14ubuntu5) 4.4.5

Заранее большое спасибо

Микель

1 ответ

Наконец-то я смог решить проблему сам. Просто скачайте и установите (через ./configure, make и make install) поддерживаемую версию gcc (подойдет любая версия от 4.1 до 4.2). В моем случае я попробовал gcc-4.2, и он отлично работает.

Спасибо, в любом случае!

Микель


2

mgfernan
24 Ноя 2010 в 18:25

У меня есть подпрограмма C++, которую я хотел бы упаковать в S-функцию Simulink. Эти подпрограммы C++ вызывают другие подпрограммы, находящиеся в нескольких других файлах C++.

Мне удалось скомпилировать все (т.е. сгенерировать файл mexglx) с помощью инструмента legacy_code. Однако выдается следующее предупреждение:

Warning: You are using gcc version "4.4.4-14ubuntu5)".  The earliest gcc version
supported  with mex is "4.1".  The latest version tested for use with mex 
is "4.2". To download a different version of gcc, visit http://gcc.gnu.org 

Проблема возникает, когда я пытаюсь сгенерировать блок S-Function, введя команду:

legacy_code('slblock_generate', def);

В этот момент возникает следующая ошибка с упоминанием версии GLIBCXX:

??? Error using ==> iAddSfunctionBlock at 183
Error due to multiple causes.

Error in ==>
/opt/matlab/toolbox/simulink/simulink/+legacycode/@LCT/generateslblock.p>
generateslblock at 55


Error in ==> /opt/matlab/toolbox/simulink/simulink/legacy_code.p>legacy_code at
160


Caused by:
    Error using ==> iAddSfunctionBlock at 183
    Invalid MEX-file 'sfun_vectorRotation_b.mexglx':
    /opt/matlab/bin/glnx86/../../sys/os/glnx86/libstdc++.so.6: version
    `GLIBCXX_3.4.11' not found (required by sfun_vectorRotation_b.mexglx).
    Error using ==> iAddSfunctionBlock at 183
    Error while obtaining sizes from MEX S-function 'sfun_vectorRotation_b' in
    'untitled1/sfun_vectorRotation_b'. MATLAB error message:
    Invalid MEX-file 'sfun_vectorRotation_b.mexglx':
    /opt/matlab/bin/glnx86/../../sys/os/glnx86/libstdc++.so.6: version
    `GLIBCXX_3.4.11' not found (required by sfun_vectorRotation_b.mexglx).

Честно говоря, я немного растерялся в этот момент. Я не знаю, будет ли достаточно понижения версии компилятора g++ или мне придется делать что-то еще. У вас есть возможное решение этой проблемы?

Я использую Matlab 2009b в ОС Ubuntu 10.10, а версия g++:

g++ (Ubuntu/Linaro 4.4.4-14ubuntu5) 4.4.5

Большое спасибо заранее

Miquel

Понравилась статья? Поделить с друзьями:
  • Error ds createsoundbuffer
  • Error drm not supported error ivi что делать
  • Error drm not supported error ivi как исправить
  • Error drm not supported error ivi xiaomi
  • Error drm not supported error ivi tcl