日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

MATLAB显示错误使用untitled,使用Matlab 2016a阻止集合构建错误

發(fā)布時間:2024/7/23 编程问答 23 豆豆
生活随笔 收集整理的這篇文章主要介紹了 MATLAB显示错误使用untitled,使用Matlab 2016a阻止集合构建错误 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

matlab R2016a.OS:我所生成的Windows 10All是Master Block,除了用于測試用例之外,沒有其他任何東西,我得到以下錯誤:請幫助我完成這項工作,因為我確實需要完成一些工作。Ali

以上來自于百度翻譯

以下為原文

Hi,

I am struggling from the last 3 days to generate a single code using the block set.

Matlab R2016a.

OS: Windows 10

All I am generating is the Master Block nothing else just for the test case and I get the following error:

Elapsed: 25 sec

### Generating code into build folder: C:\Users\ali\Documents\MATLAB\untitLED.X

### Invoking Target Language Compiler on untitled.rtw

### Using System Target File: C:\Program Files (x86)\microchip\MatlabTools\blocks\MCHP_dsPIC_stf.tlc

### Loading TLC function libraries

### Initial pass through model to cache user defined code

### Caching model source code .

Error: File: C:\Program Files (x86)\microchip\MatlabTools\blocks\MCHP_Master.tlc Line: 5 Column: 49

Unable to find ChipIdL1 within the RTWGenSettings scope

Main program: ==> [00] C:\Program Files (x86)\Microchip\MatlabTools\blocks\MCHP_Master.tlc:Start(5)

[01] C:\Program Files\MATLAB\R2016a\rtw\c\tlc\blocks\gensfun.tlc:Start(574)

[02] C:\Program Files\MATLAB\R2016a\rtw\c\tlc\mw\opaquelib.tlc:OpaqueTLCBlockFcn(3845)

[03] C:\Users\ali\Documents\MATLAB\untitled.X\tlc\s0_b0_rj79_ModelInitialize.tlc:ModelInitialize(7)

[04] C:\Program Files\MATLAB\R2016a\rtw\c\tlc\mw\opaquelib.tlc:FcnGenRateGroupedCodeFromModule(4518)

[05] C:\Program Files\MATLAB\R2016a\rtw\c\tlc\mw\opaquelib.tlc:FcnGenerateCodeFromModule(4433)

[06] C:\Program Files\MATLAB\R2016a\rtw\c\tlc\mw\opaquelib.tlc:SLibFcnGenBodySysFcn(193)

[07] C:\Program Files\MATLAB\R2016a\rtw\c\tlc\mw\opaquelib.tlc:SLibFcnGenBodyFcnCache(406)

[08] C:\Program Files\MATLAB\R2016a\rtw\c\tlc\mw\opaquelib.tlc:SLibFcnGenBodySysFcnEntry(508)

[09] C:\Program Files\MATLAB\R2016a\rtw\c\tlc\mw\commonbodlib.tlc:FcnGenBodySysCache(1186)

[10] C:\Program Files\MATLAB\R2016a\rtw\c\tlc\mw\commonbodlib.tlc:SLibGenBodyCache(5145)

[11] C:\Program Files\MATLAB\R2016a\rtw\c\tlc\mw\formatwide.tlc:(55) Error: File: C:\Program Files (x86)\Microchip\MatlabTools\blocks\MCHP_Master.tlc Line: 5 Column: 48 Bad cast - unable to cast this expression to "String"

Main program: ==> [00] C:\Program Files (x86)\Microchip\MatlabTools\blocks\MCHP_Master.tlc:Start(5) [01] C:\ProgramError: File: C:\Program Files (x86)\Microchip\MatlabTools\blocks\MCHP_Master.tlc Line: 7 Column: 49 Unable to find ChipIdL3 within the RTWGenSettings scope

Please Help me out to get this working as I really need to get some work done.

Regards,

Ali

0

以上來自于百度翻譯

以下為原文

Hi Ali,

Further input would be required:

Which Blockset version are you using ?

Which matlab tools do you have (Typing ver at matlab prompt would provide all required inputs)

Could you try compiling example provided ?

type 'picInfo' to copy examples in current folder, and follow instructions to compile them all. would take few minutes. You end up with a summary about success/fall.

If you also get errors, please provide the report.

Thanks,

Lubin

2019-5-17 15:02:41

評論

提交評論

以上來自于百度翻譯

以下為原文

Hi Lubin,

First of all sorry for the late reply as I was stuck with some stuff.

I am using Block-set version mentioned below:

Microchip Blockset 3.38 installed. See info and examples.

and following is my toolbox installed

MATLAB Version: 9.0.0.341360 (R2016a)

MATLAB License Number: 722433

Operating System: Microsoft Windows 10 Home Version 10.0 (Build 14393)

Java Version: Java 1.7.0_60-b19 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode

----------------------------------------------------------------------------------------------------

MATLAB Version 9.0 (R2016a)

Simulink Version 8.7 (R2016a)

Aerospace Blockset Version 3.17 (R2016a)

Aerospace Toolbox Version 2.17 (R2016a)

Antenna Toolbox Version 2.0 (R2016a)

Audio System Toolbox Version 1.0 (R2016a)

Bioinformatics Toolbox Version 4.6 (R2016a)

Communications System Toolbox Version 6.2 (R2016a)

Computer Vision System Toolbox Version 7.1 (R2016a)

Control System Toolbox Version 10.0 (R2016a)

Curve Fitting Toolbox Version 3.5.3 (R2016a)

DSP System Toolbox Version 9.2 (R2016a)

Data Acquisition Toolbox Version 3.9 (R2016a)

Database Toolbox Version 6.1 (R2016a)

Datafeed Toolbox Version 5.3 (R2016a)

Econometrics Toolbox Version 3.4 (R2016a)

Embedded Coder Version 6.10 (R2016a)

Embedded Target for Microchip Version 3.38 (R20xx)

Filter Design HDL Coder Version 3.0 (R2016a)

Financial Instruments Toolbox Version 2.3 (R2016a)

Financial Toolbox Version 5.7 (R2016a)

Fixed-Point Designer Version 5.2 (R2016a)

Fuzzy Logic Toolbox Version 2.2.23 (R2016a)

Global Optimization Toolbox Version 3.4 (R2016a)

HDL Coder Version 3.8 (R2016a)

HDL Verifier Version 5.0 (R2016a)

Image Acquisition Toolbox Version 5.0 (R2016a)

Image Processing Toolbox Version 9.4 (R2016a)

Instrument Control Toolbox Version 3.9 (R2016a)

LTE System Toolbox Version 2.2 (R2016a)

MATLAB Coder Version 3.1 (R2016a)

MATLAB Compiler Version 6.2 (R2016a)

MATLAB Compiler SDK Version 6.2 (R2016a)

MATLAB Report Generator Version 5.0 (R2016a)

Mapping Toolbox Version 4.3 (R2016a)

Model Predictive Control Toolbox Version 5.2 (R2016a)

Model-Based Calibration Toolbox Version 5.1 (R2016a)

Neural Network Toolbox Version 9.0 (R2016a)

OPC Toolbox Version 4.0.1 (R2016a)

Optimization Toolbox Version 7.4 (R2016a)

Parallel Computing Toolbox Version 6.8 (R2016a)

Partial Differential Equation Toolbox Version 2.2 (R2016a)

Phased Array System Toolbox Version 3.2 (R2016a)

Polyspace Bug Finder Version 2.1 (R2016a)

Polyspace Code Prover Version 9.5 (R2016a)

RF Toolbox Version 3.0 (R2016a)

Robotics System Toolbox Version 1.2 (R2016a)

Robust Control Toolbox Version 6.1 (R2016a)

Signal Processing Toolbox Version 7.2 (R2016a)

SimBiology Version 5.4 (R2016a)

SimEvents Version 5.0 (R2016a)

SimRF Version 5.0 (R2016a)

Simscape Version 4.0 (R2016a)

Simscape Driveline Version 2.10 (R2016a)

Simscape Electronics Version 2.9 (R2016a)

Simscape Fluids Version 2.0 (R2016a)

Simscape Multibody Version 4.8 (R2016a)

Simscape Power Systems Version 6.5 (R2016a)

Simulink 3D Animation Version 7.5 (R2016a)

Simulink Code Inspector Version 2.5 (R2016a)

Simulink Coder Version 8.10 (R2016a)

Simulink Control Design Version 4.3 (R2016a)

Simulink Design Optimization Version 3.0 (R2016a)

Simulink Design Verifier Version 3.1 (R2016a)

Simulink Desktop Real-Time Version 5.2 (R2016a)

Simulink PLC Coder Version 2.1 (R2016a)

Simulink Real-Time Version 6.4 (R2016a)

Simulink Report Generator Version 5.0 (R2016a)

Simulink Test Version 2.0 (R2016a)

Simulink Verification and Validation Version 3.11 (R2016a)

Spreadsheet Link Version 3.2.5 (R2016a)

Stateflow Version 8.7 (R2016a)

Statistics and Machine Learning Toolbox Version 10.2 (R2016a)

Symbolic Math Toolbox Version 7.0 (R2016a)

System Identification Toolbox Version 9.4 (R2016a)

Trading Toolbox Version 3.0 (R2016a)

Vehicle Network Toolbox Version 3.1 (R2016a)

Vision HDL Toolbox Version 1.2 (R2016a)

WLAN System Toolbox Version 1.1 (R2016a)

Wavelet Toolbox Version 4.16 (R2016a)

>>

examples models compilation generated result:

Not Ok ==> AUAV_V3_33EP512MU810_I2C_BMP180.mdl

Not Ok ==> AUAV_V3_33EP512MU810_SPI_MPU6000__I2C_HMC5883_SensorsTest.mdl

Not Ok ==> Explorer16_33FJ256GP710_SimpleFilter.mdl

Not Ok ==> MCLV_Board_33Fj256MC710A_BLDC_wHall_async_2_10Khz.mdl

Not Ok ==> Microstick_II_33EP128MC202_CustomCFunCall.mdl

Not Ok ==> Microstick_II_33EP128MC202_Drotek_I2C_MPU6050_HMC5883L_AGM.mdl

Not Ok ==> Microstick_II_33EP128MC202_Drotek_I2C_MS5611_TempAndPressure.mdl

Not Ok ==> Microstick_II_33EP128MC202_bare.mdl

Not Ok ==> Microstick_II_33FJ128MC802_Drotek_I2C_MPU6050_HMC5883L_AGM.mdl

Not Ok ==> Microstick_II_33FJ128MC802_MCU_TaskProfiling.mdl

Not Ok ==> Microstick_II_33FJ128MC802_bare.mdl

Not Ok ==> Microstick_II_33FJ64MC802_bare.mdl

Not Ok ==> Microstick_II_PlusDevBoard_33EP128MC202_Temperature_PICGUI.mdl

Not Ok ==> UDB5_33FJ256GP710A_SPI_MPU6000_SensorsTest.mdl

Thank you for your help in advance

Thanks,

Ali Meraj

2019-5-17 15:08:22

評論

提交評論

以上來自于百度翻譯

以下為原文

Hi Lubin,

here is the output

--------------------------------------------

Microchip Blockset 3.38 Installed:

--------------------------------------------

Refreshing cache...

- Blockset in C:\Program Files (x86)\Microchip\MatlabTools

- Link to MPLAB X to program chip is Ok

1 Compiler(s) found for 16 bits chip:

- C:/Program Files (x86)/Microchip/xc16/v1.30

>>

I am working on 33EP512MU810 Chip.

Regards,

Ali

2019-5-17 15:38:27

評論

提交評論

以上來自于百度翻譯

以下為原文

Hi Ali,

Installation of the blockset and related tools (XC compiler + MPLAB X to program chip) seems all ok.

We need to check for a possible issue with Windows 10 compatibility with Simulink.

Is Simulink working as usual?

If you open a model for code generation (use an example) for a dsPIC, what happens when you open the "Master Block"? Do you see any error while opening dsPIC library block?

These blocks use kind of compiled dll whose name are "mex files". I am wondering if these might cause any issue with windows 10.

Thanks,

Lubin

2019-5-17 15:44:12

評論

提交評論

以上來自于百度翻譯

以下為原文

Hey there,

I got kind of a similar problem when trying to generate code from a simple model using only the "C Function Call" block beside the "Microchip Master" and "Compiler Options" blocks.

I'd highly appreciate your help with this.

Matlab ver:

picInfo('check')

code generation log (my model):

picInfo('examples') Examples compilation:

Unfortunately the?Microstick_II_33EP128MC202_CustomCFunCall.mdl seems to work just fine.

Still I got no idea why my model isn't working. I tried to:

- use or not use a DD

- change all the settings in Microchip Master and Compiler Options blocks (to fit the example model)

- make a new model from scratch

Maybe someone could give me a hint, why this error occurs. Then I might be able to find the issue.

additional Info (although I can't imagine that it has anything to do with that):

my custom C-Code only uses == Operators no !=. All == are used with a variable and a constant (eg. 0x02U or similar)

Thanks a lot in advance.

2019-5-17 16:04:11

評論

提交評論

只有小組成員才能發(fā)言,加入小組>>

創(chuàng)作挑戰(zhàn)賽新人創(chuàng)作獎勵來咯,堅持創(chuàng)作打卡瓜分現(xiàn)金大獎

總結(jié)

以上是生活随笔為你收集整理的MATLAB显示错误使用untitled,使用Matlab 2016a阻止集合构建错误的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。